Java Programs: Beginner to Advanced
Beginner Level
- Hello World Program - Basic structure of a Java program.
- Add Two Numbers - Using Scanner for user input.
- Check Even or Odd - Using if-else condition.
- Swap Two Numbers - Using and without using a third variable.
- Simple Calculator - if-else or switch-case based arithmetic operations.
Intermediate Level
- Find Largest Among Three Numbers - Using nested if-else.
- Factorial of a Number - Using loop or recursion.
- Print Fibonacci Series - Using loops.
- Palindrome Number - Check if number reads same backward.
- Reverse a Number - Logic with loop and modulo.
Advanced Level
- 2D Array Sum - Input and process 2D arrays.
- Student Marks Evaluation - 2D array + if-else + loop.
- Matrix Multiplication - Using nested loops.
- Check Prime Number - Efficient prime checking.
- Simple Menu-Driven Application - Using loops and switch.