Top 10 Java Programs For Freshers

1. Hello World: Basic program to print "Hello World" on the screen.

2. Fibonacci Series: Generate Fibonacci series up to n numbers.

3. Factorial: Calculate the factorial of a given number.

4. Palindrome Checker: Check if a string or number is a palindrome.

5. Prime Number: Check if a number is prime or list all prime numbers up to n.

6. Armstrong Number: Check if a number is an Armstrong number.

7. Reverse a String: Reverse a given string using loops.

8. Bubble Sort: Implement bubble sort to sort an array.

9. Matrix Multiplication: Multiply two matrices and display the result.

10. File I/O Operations: Read from and write to a file using Java.

Discover More Stories

Arrow