Practice Java Programming Questions
Frequently Asked Programs in Interviews & Coding Rounds : This section focuses on frequently asked Java programs in programming interviews and coding rounds. These programs should be practiced to improve the coding skills required for various interviews (campus interviews, walk-in interviews), coding rounds etc.
List of the most important and commonly asked Java programs in interviews & coding rounds :-
1. Java Program to print Hello World.
2. Java Program to check whether the number is even or odd.
3. Java Program to check whether the given number is prime number or not.
4. Java Program to check whether the given year is leap year or not.
5. Java Program to count the number of digits in a number.
6. Java Program to find sum of digits of a given number.
7. Java Program to swap two numbers without using temporary variable.
8. Java Program to print fibonacci series.
9. Java Program to check whether a character is vowel or consonant.
10. Java Program to find GCD of two numbers.
11. Java Program to find LCM of two numbers.
12. Java Program to find perfect number.
13. Java Program to find whether a number is power of two or not.
14. Java Program to find factorial of a number.
15. Java Program to find the length of a string.
16. Java Program to make a simple calculator.
17. Java program to check whether the given number N is Armstrong number or not.