java topics
java topics
History of Java
Features of Java
Why Java? (Comparison with Other Languages)
Java Editions (SE, EE, ME)
Arithmetic Operators
Relational Operators
Logical Operators
Bitwise Operators
Unary Operators
Assignment Operators
Ternary Operator
instanceof Operator
Single-line (//)
Multi-line (/* ... */)
Documentation (/** ... */)
if Statement
if-else Statement
if-else-if Ladder
Nested if Statement
switch Statement
o switch with int, char, String, Enum
o switch with multiple cases
o switch expressions (Java 14+)
for Loop
while Loop
do-while Loop
Nested Loops
Enhanced for Loop (for-each)
break Statement
o Unlabeled break
o Labeled break
continue Statement
o Unlabeled continue
o Labeled continue
return Statement
Defining a Class
Creating Objects
Class Members (Fields & Methods)
Constructors (Default & Parameterized)
this Keyword
3.2 Encapsulation
3.3 Inheritance
3.4 Polymorphism
3.5 Abstraction
Abstract Classes
Abstract Methods
3.6 Interfaces
One-Dimensional Arrays
Multi-Dimensional Arrays
Jagged Arrays
Sorting & Searching Arrays
7️⃣Exception Handling
Types of Exceptions (Checked & Unchecked)
try, catch, finally Blocks
throw & throws Keywords
Custom Exceptions
8️⃣Multithreading & Concurrency
Thread Lifecycle
Creating Threads (Thread Class & Runnable Interface)
Synchronization
wait(), notify(), notifyAll()
Executor Framework
Callable & Future
🔟 Java 8+ Features
Lambda Expressions
Functional Interfaces
Streams API
Optional Class
Method References
Default & Static Methods in Interfaces
1️⃣2️⃣Java Networking
TCP & UDP Sockets
URL & HTTP Communication
Java RMI (Remote Method Invocation)
1️⃣3️⃣Java Reflection API
Accessing Private Fields & Methods
Modifying Classes Dynamically
Fork/Join Framework
Atomic Variables
Locking Mechanisms (ReentrantLock, ReadWriteLock)
Semaphore & CountDownLatch
CyclicBarrier & Exchanger
4. Java Security
Gradle
Maven (Advanced Usage)
Ant (Legacy Tool)
SOLID Principles
DRY (Don’t Repeat Yourself) Principle
KISS (Keep It Simple, Stupid)
YAGNI (You Aren't Gonna Need It)
2. Java Annotations
Higher-Order Functions
Function Composition
Lazy Evaluation
Functional Interfaces & Lambdas
Instrumentation API
Java Agents
Monitoring & Profiling with Java Agents
Object Serialization
Transient Keyword
Custom Serialization
Externalizable Interface
Log4j 2
SLF4J (Simple Logging Facade for Java)
java.util.logging
Logback