This repository contains a collection of Core Java code examples aimed at helping learners understand the foundational concepts of Java programming.
All programs are written using standard Java syntax and can be compiled and run using any Java-supported IDE or terminal setup. The code is kept beginner-friendly and well-commented to enhance clarity and learning.
- Java JDK 8 or higher
- Any Java-compatible IDE (e.g., Eclipse, IntelliJ IDEA, VS Code)
- Command line or terminal for manual compilation and execution
- Open your terminal or IDE.
- Compile the file:
javac FileName.java
- Run the file:
java FileName