Here is a list of Java programs which are very frequently asked in any Java interviews. The programs are equally beneficial to freshers and experienced professionals.
Write a Java Program to Print 1 To 10 Without Using Loop
Write a Java Program to Reverse an Array in Place Without Using Any Second Array
Write a Java Program to Find the Longest Palindrome Present in a Given String
Write a Java Program to Find the Second Largest Number in an Array
Write a Java Program to Remove Common Characters From Given Strings
Java Program To Check If A Given Number is A Perfect Number
Check Given String is Rotation of Another String
Java Program to Find LCM of a Two Given Number
Write a Java Program to Test Given Words are Anagram or Not
Write a Java Program to Perform Binary Search in a Sorted Array
Write a Java Program to find Factorial of a Given Number
Java Program to Reverse a Given String without using Predefined Functions
Java program to reverse a given number
Java program to find sum of prime numbers which are less than a given number
Java program to find max repeated words from a file
Java Program to find max two numbers in an array
Java Program to Find line with max character length in Descending Order
Please let me know if you need solution to any of the programs mentioned above.