This repository contains my personal Java practice programs. The aim is to enhance problem-solving skills, master core Java concepts, and maintain consistent daily coding habits.
- Basic syntax
- Data types & operators
- Control flow (if-else, switch)
- Loops (for, while, do-while)
- Arrays and Strings
- Object-Oriented Programming (OOP)
- Classes and Objects
- Methods and Constructors
- Inheritance and Polymorphism
- Exception Handling
- Java Scanner and I/O basics
Each file is a standalone Java program, usually focusing on a specific topic or concept. File names indicate the subject or question practised.
To run any program:
- Clone the repo: git clone https://github.com/gaurav15042004/javaPractice
- Open the file in your IDE (like IntelliJ or VSCode).
- Compile and run the .java file using: javac FileName.java java FileName
⸻
📌 Note This is a learning repository. Code may evolve over time as I explore new patterns, fix mistakes, or improve logic.
⸻
📫 Feedback
Feel free to open an issue if you find a bug or have suggestions for improvements or practice topics!