Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.17 KB

File metadata and controls

44 lines (31 loc) · 1.17 KB

Java Practice

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.

🧠 Topics Covered

  • 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

📁 Structure

Each file is a standalone Java program, usually focusing on a specific topic or concept. File names indicate the subject or question practised.


🚀 Getting Started

To run any program:

  1. Clone the repo: git clone https://github.com/gaurav15042004/javaPractice
  2. Open the file in your IDE (like IntelliJ or VSCode).
  3. 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!