
Codingface » Java
143 FOLLOWERS
Java is one of the most popular programming languages, known as the evergreen programming language. We have given the most important programs on Java. Codingface.com is one of the leading independent programming posting portal, specially designed for providing simple coding logic of programs in multiple languages like Java, Python, C, C++, PHP and more.
Codingface » Java
2y ago
In this tutorial, We will learn how to calculate age from Date of Birth in Java. We will ask the user to enter their date of birth and from DOB, we will calculate their age also. How to calculate age from Date of Birth in Java? We can calculate age from Date of Birth by ... Read more ..read more
Codingface » Java
2y ago
In this tutorial, We will learn how to accept Date of Birth from user and calculate the user’s age in Java. We will ask the user to enter their date of birth and from DOB, we will estimate their age also. We will learn about how to accept Date of Birth from user only. If ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, we will learn how to generate OTP code in Java. We have given 2 approaches to generate OTP randomly by using the random( ) and concat( ) methods, and some other logic. What is OTP code in Java? OTP stands for One Time Password, a randomly generated combination of characters or digits ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, We will learn how to reverse an Array in Java by using a simple for loop, by using ArrayList, by using StringBuilder.append( ) and by using ArrayUtils.reverse( ). What is an Array in Java? An Array is a collection object which contains multiple elements of the same type. It provides contiguous memory allocation ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, We will learn how to print Array without brackets in Java. We will accept any Array from the end-user and will display the elements of the Array without brackets. What is an Array in Java? An Array is a collection object which contains multiple elements of the same type. It provides contiguous ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, we will learn how to extends multiple class in Java. Is it possible or not in Java and if not possible then how can we accomplish this? What is Extend in Java? Extend is one of the keywords in Java which is used for inheritance and indicates that we are inheriting all ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, We will try to find the difference between Static String and Static Final String in Java. See the complete tutorial to understand the exact difference. What is Static in Java? Static is one of the popular keywords in Java which refers to a class rather than an instance of a class. Static ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, we will learn about the Diamond program in Java. We have given the example of both full and half diamond patterns. What is Diamond Pattern in Java? A star pattern that is represented in a diamond manner is called a Diamond Pattern and to develop a program to represent this diamond pattern ... Read more ..read more
Codingface » Java
3y ago
In this tutorial, we will learn how to give tab space in Java. Here we have used the “\t” tab space with the example of both numbers and Strings. What is tab space in Java? “Tab space is the combination of the 8 characters at a time. So we can also say that it is ... Read more ..read more
Codingface » Java
3y ago
In this post, we will learn how to print a circle pattern in Java. You can learn this tutorial for both hollow and solid circular patterns. What is a circle pattern? A star pattern that is represented in a circular manner is called a circle pattern and to develop a program to represent this circle ... Read more ..read more