This repository contains fundamental Java programs for beginners who want to understand core Java concepts through hands-on coding.
Each file in this repo demonstrates a basic Java concept, such as:
- Variables and Data Types
- Operators
- Control Flow (if, switch)
- Loops (for, while, do-while)
- Arrays
- Functions/Methods
- Object-Oriented Programming (OOP) Basics
- Clone the repository:
git clone https://github.com/itsmejd7/Java__Basics.git
Open any .java file using an IDE like IntelliJ, Eclipse, or simply a text editor.
Compile and run using terminal:
bash Copy Edit javac FileName.java java FileName ✅ Requirements JDK 8 or higher
Basic understanding of Java syntax
🤝 Contribution Feel free to contribute by improving existing programs, fixing issues, or adding new Java topics!