☕ Java Core – Complete Practice Repository 📌 Overview
Welcome to Java Core – a comprehensive repository containing my structured practice and learning journey in Core Java.
This repository covers fundamental to intermediate Java concepts including object-oriented programming, control flow, collections, exception handling, file handling, and problem-solving exercises.
As a Computer Science student, I created this repository to:
Strengthen Java fundamentals
Prepare for Data Structures & Algorithms
Build a strong base for backend development
Prepare for internships and technical interviews
Maintain organized coding practice
🎯 Objectives
Master Core Java concepts
Write clean and readable code
Practice problem-solving regularly
Understand Object-Oriented Programming deeply
Build strong foundations for advanced topics (Spring Boot, Backend, etc.)
🧠 Topics Covered 🔹 1. Basics of Java
Introduction to Java
JVM, JRE, JDK
Data Types
Variables
Operators
Type Casting
Input & Output (Scanner class)
🔹 2. Control Statements
if / else
switch
for loop
while loop
do-while loop
break & continue
🔹 3. Methods
Method declaration
Return types
Method overloading
Recursion
🔹 4. Object-Oriented Programming (OOP)
Classes & Objects
Constructors
this keyword
Encapsulation
Inheritance
Polymorphism
Method Overriding
Abstraction
Interfaces
🔹 5. Arrays
Single-dimensional arrays
Multi-dimensional arrays
Array operations
Sorting & searching basics
🔹 6. Strings
String methods
StringBuilder
String comparison
Pattern programs
🔹 7. Exception Handling
try-catch
finally
throw & throws
Custom exceptions
🔹 8. Collections Framework
ArrayList
LinkedList
HashSet
HashMap
Iterators
🔹 9. File Handling
Reading files
Writing files
File class
BufferedReader & BufferedWriter
🔹 10. Practice Programs
Number-based problems
Pattern printing
Basic algorithmic problems
Mini console-based programs
🗂️ Folder Structure
java-core/ │ ├── basics/ ├── control-statements/ ├── methods/ ├── oop/ ├── arrays/ ├── strings/ ├── exception-handling/ ├── collections/ ├── file-handling/ └── practice-programs/
🛠️ Technologies Used
Java (JDK 17)
VS Code / IntelliJ IDEA
Git & GitHub
Install JDK (Java Development Kit)
Clone this repository:
git clone https://github.com/Ronit049/core-java
Navigate to the desired folder
Compile the file:
javac FileName.java
Run the program:
java FileName
📈 Learning Approach
Daily practice
Writing code without copying
Focusing on logic building
Understanding concepts before implementation
Improving code readability and structure
🚀 Future Improvements
Add Data Structures implementation in Java
Add small Java console projects
Add notes and explanations
Add problem-solving section (LeetCode style)
Add unit testing examples
👨💻 About Me
I am a Computer Science Engineering student passionate about programming, backend development, and problem-solving.
Currently focusing on:
Java Development
Data Structures & Algorithms
Internship Preparation
⭐ Why This Repository?
This repository reflects:
Consistency
Structured learning
Practical coding implementation
Strong foundation building
📬 Connect With Me
⭐ This repository grows as I grow.