This repository contains a collection of Java exercises designed to practice programming fundamentals, problem-solving, and object-oriented concepts.
basics/– Variables, operators, conditionals, loopsoop/– Classes, objects, inheritance, polymorphism, encapsulationcollections/– Lists, Sets, Maps, Iteratorsexceptions/– Exception handling and custom exceptionsfiles/– File input/output and serializationtests/– JUnit tests for exercises
- Strengthen Java programming skills through hands-on practice
- Understand core Java concepts step by step
- Build confidence in solving coding problems
- Prepare for coding interviews and assessments
- Java JDK 21 (or your preferred version)
- Maven or Gradle (optional, for dependency management)
- IntelliJ IDEA, Eclipse, or any IDE of your choice
- Clone the repository:
git clone https://github.com/USERNAME/java-exercises.git