Posts from Java

Sorting a list of objects of user-defined class using Comparator interface

By vikrant_tomar

Sorting is vital in every aspect of programming. The java.util.Collections.sort() function can be used to sort the elements of a list of a predefined data type. The Comparator inte.... Read More

How to concatenate byte array in java with an easy example

By Saruque Ahamed Mollick

In this Java tutorial, We will learn how easily we can concatenate multiple byte array in Java. That’s mean you can concatenate two or more byte array in Java easily. In orde.... Read More

How to convert list to int array in Java

By Saruque Ahamed Mollick

In this Java tutorial, we will learn how to convert list to int array in Java. In order to make it understandable and simple, we will create a list and some elements in it. Then we.... Read More

Username Validation using Java as per Client’s Requirement

By Priyam Sur

In this Java post, we will learn how to validate username in Java. For making it easy we have provided an easy example of username validation using Java. USERNAME VALIDATION USING.... Read More

How to reverse two dimensional array in Java

By Saruque Ahamed Mollick

Hi learners, in this Java tutorial you will learn how to reverse a two-dimensional array in Java. I will show you how easily you can reverse two dimensional array in Java with an e.... Read More

Lexicographical Smallest & Largest Substring of a given Length in JAVA

By Priyam Sur

Before we understand lexicographically ordered substring in Java, we must understand their definitions. In this Java post, we will learn all about these. Lexicographically Ordered .... Read More

Check whether the given parenthesis filled string is balanced? (Java)

By Priyam Sur

In this Java article, you will learn how to check if the parenthesis filled string is balanced or not in JAVA. Here we have provided a Java program on check parenthesis filled st.... Read More

How to find day of the week when entered a date (mm/dd/yyyy) in JAVA?

By Priyam Sur

In this Java tutorial, we gonna learn how to find day of a given date in Java easily. I will show you an easy example so that you can understand it easily. HOW TO FIND DAY OF A GIV.... Read More