A comprehensive Java learning repository covering core fundamentals, modern Java features, JVM internals, functional programming, concurrency, and performance basics.
This repository is designed as a structured reference + practice archive for mastering Java from beginner to advanced level using modern JDK standards (Java 8 → Java 17+).
- Build strong Java fundamentals
- Understand modern Java features
- Practice clean, idiomatic Java
- Prepare for interviews, real-world projects, and backend frameworks
- Serve as a long-term Java reference repository
- Main method & program structure
- Variables: declaration, initialization, scope
- Primitive data types
- Reference vs primitive types
- Operators (arithmetic, logical, bitwise, ternary)
- Control flow:
if,if-else,switch(enhanced switch)for, enhanced for-loop,while,do-whilebreak,continue,return
- Classes & objects
- Methods & method overloading
- Constructors (default & parameterized)
thiskeyword- Access modifiers
- OOP pillars:
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
- Interfaces (default, private, static methods)
- Records (Java 16+)
- Sealed classes & interfaces (Java 17+)
String, immutability & performanceStringBuilder&StringBuffer- Arrays (1D & multi-dimensional)
- Packages &
import - Java Memory Model (Stack vs Heap)
- Garbage Collection fundamentals
- Error vs Exception
- Checked vs unchecked exceptions
try-catch-finally- Try-with-resources
throwkeyword- Custom exceptions
Collection,List,Set,Queue,Map
- List:
ArrayList,LinkedList - Set:
HashSet,LinkedHashSet,TreeSet - Queue:
PriorityQueue,ArrayDeque - Map:
HashMap,LinkedHashMap,TreeMap
equals()&hashCode()contractComparable&Comparator- Concurrent collections
- Generic classes & methods
- Bounded type parameters
- Diamond operator (
<>) - Wildcards:
? extends? super- Unbounded
?
- Lambda expressions
- Functional interfaces:
PredicateFunctionSupplierConsumer
- Method references
Optional- Stream API:
- Creation
- Intermediate operations
- Terminal operations
- Parallel streams
- Thread creation (
ThreadvsRunnable) ExecutorService- Synchronization & intrinsic locks
volatile- Explicit locks:
ReentrantLockReadWriteLock
- High-level concurrency:
Callable&FutureCompletableFuture
- Concurrent vs synchronized collections
- Java Date & Time API (
java.time) - File handling with NIO.2 (
Path,Files,Paths)
- Annotations (built-in & custom)
- Reflection
- Classloading basics
- Java Modules (JPMS)
- JVM tuning basics (
-Xms,-Xmx) - JVM architecture overview
- Language: Java (8 → 17+)
- Build Tool: Maven / Gradle (optional)
- IDE: IntelliJ IDEA / Eclipse / VS Code
- Style: Clean, readable, best-practice Java
- Java beginners building strong foundations
- Intermediate developers leveling up
- Backend developers preparing for Spring Boot
- Interview preparation (Core Java + Advanced)
- Anyone wanting a modern Java reference
git clone https://github.com/variables-dev-coder/Core_Java_Practice.git
cd Core_Java_Practice
---
> ⭐ Star this repo if you're also learning Java or preparing for interviews. Let's grow and learn together!