This repository is a comprehensive collection of Core Java concepts, each organized into topic-specific folders with multiple hands-on example programs. It serves as a practical reference and learning resource for anyone looking to strengthen their Core Java fundamentals.
Each topic is placed in its own folder and includes one or more example programs. Some of the major topics include:
- ✅ Variables & Data Types
- ✅ Operators
- ✅ Control Statements (
if
,switch
, loops) - ✅ Arrays & Strings
- ✅ OOP Concepts (Classes, Objects, Inheritance, Polymorphism)
- ✅ Abstraction & Interfaces
- ✅ Exception Handling
- ✅ Collections Framework
- ✅ Multithreading
- ✅ File Handling
- ✅ Packages
- ✅ Access Modifiers
- ✅ Wrapper Classes
- ✅ Enums
- ✅ Command Line Arguments
- ...and more!
This project was created to:
- 📘 Strengthen Java fundamentals through examples
- 🧑💻 Serve as a ready reference while coding or revising concepts
- 👨🏫 Help beginners and intermediates understand Core Java with clarity
-
Clone the repository:
git clone https://github.com/your-username/core-java-examples.git
-
Open any
.java
file in your favorite IDE (Eclipse, IntelliJ, VS Code) or compile manually:javac FileName.java java FileName