Java programs

Java program to remove duplicate element in array

Let’s learn to remove duplicate from array in java. Remove duplicate from array java To remove duplicate element from an array first the array must…

Read More

Java program to find largest of three numbers

Let’s learn java program to find largest of three numbers. In java to find biggest number in java, comparison operator (>) is used. Comparison operator…

Read More

Java program to find LCM of two numbers

Let’s learn java program to find LCM of two numbers. How to find lcm of two numbers is one of the common interview question in…

Read More

Java program to add two numbers using method

Let’s learn java program to add two numbers using method. Java program to add two numbers using method Addition of two numbers in java using…

Read More

Java program to check palindrome string using recursion

Let’s learn java program to check palindrome string using recursion. Java program to check palindrome string using recursion How to check if a string is…

Read More

Java program to check whether string is palindrome using library methods

Let’s learn java program to check whether string is palindrome using library methods. Java program to check whether string is palindrome using library methods Check…

Read More

Java program to convert decimal number to binary & count number of 1s

Let’s learn java program to convert decimal number to binary & count number of 1s. Java program to convert decimal number to binary & count…

Read More

Java program to convert decimal to binary using toBinaryString and stack

Let’s learn java program to convert decimal to binary using toBinaryString and stack. Java program to convert decimal to binary using toBinaryString and stack Java…

Read More

Java program to sort names in an alphabetical order

Let’s learn java program to sort names in an alphabetical order. Java program to sort names in an alphabetical order Java sort strings alphabetically is…

Read More

Sort string array in case insensitive order and case sensitive order java

Let’s learn to sort string array in case insensitive order and case sensitive order java. Sort string array in case insensitive order and case sensitive…

Read More