Java iconJava

298 highly-curated topics available for revision.

1. Fundamentals

2. Object-Oriented Programming

3. Collections

Collections Framework

Medium

Understanding Collections Framework in Java.

5 min read

Collection vs Collections

Medium

Understanding Collection vs Collections in Java.

5 min read

List vs Set vs Map

Medium

Understanding List vs Set vs Map in Java.

5 min read

ArrayList

Medium

Understanding ArrayList in Java.

5 min read

LinkedList

Medium

Understanding LinkedList in Java.

5 min read

Vector

Medium

Understanding Vector in Java.

5 min read

Stack

Medium

Understanding Stack in Java.

5 min read

HashSet

Medium

Understanding HashSet in Java.

5 min read

LinkedHashSet

Medium

Understanding LinkedHashSet in Java.

5 min read

TreeSet

Medium

Understanding TreeSet in Java.

5 min read

HashMap

Medium

Understanding HashMap in Java.

5 min read

LinkedHashMap

Medium

Understanding LinkedHashMap in Java.

5 min read

TreeMap

Medium

Understanding TreeMap in Java.

5 min read

Hashtable

Medium

Understanding Hashtable in Java.

5 min read

ConcurrentHashMap

Medium

Understanding ConcurrentHashMap in Java.

5 min read

Queue

Medium

Understanding Queue in Java.

5 min read

Deque

Medium

Understanding Deque in Java.

5 min read

PriorityQueue

Medium

Understanding PriorityQueue in Java.

5 min read

Iterator

Medium

Understanding Iterator in Java.

5 min read

ListIterator

Medium

Understanding ListIterator in Java.

5 min read

Comparable vs Comparator

Medium

Understanding Comparable vs Comparator in Java.

5 min read

HashMap Internals

Medium

Understanding HashMap Internals in Java.

5 min read

HashSet Internals

Medium

Understanding HashSet Internals in Java.

5 min read

Fail-Fast vs Fail-Safe Iterators

Medium

Understanding Fail-Fast vs Fail-Safe Iterators in Java.

5 min read

4. Generics

5. Exception Handling

6. Java 8+ Features

7. Stream API

8. Multithreading & Concurrency

Threads

Medium

Understanding Threads in Java.

5 min read

Process vs Thread

Medium

Understanding Process vs Thread in Java.

5 min read

Thread Lifecycle

Medium

Understanding Thread Lifecycle in Java.

5 min read

Creating Threads

Medium

Understanding Creating Threads in Java.

5 min read

Runnable vs Callable

Medium

Understanding Runnable vs Callable in Java.

5 min read

Thread Scheduling

Medium

Understanding Thread Scheduling in Java.

5 min read

synchronized

Medium

Understanding synchronized in Java.

5 min read

Locks

Medium

Understanding Locks in Java.

5 min read

ReentrantLock

Medium

Understanding ReentrantLock in Java.

5 min read

ReadWriteLock

Medium

Understanding ReadWriteLock in Java.

5 min read

volatile

Medium

Understanding volatile in Java.

5 min read

Atomic Variables

Medium

Understanding Atomic Variables in Java.

5 min read

Race Conditions

Medium

Understanding Race Conditions in Java.

5 min read

Deadlocks

Medium

Understanding Deadlocks in Java.

5 min read

Starvation

Medium

Understanding Starvation in Java.

5 min read

Livelock

Medium

Understanding Livelock in Java.

5 min read

Thread Safety

Medium

Understanding Thread Safety in Java.

5 min read

Immutability & Thread Safety

Medium

Understanding Immutability & Thread Safety in Java.

5 min read

ExecutorService

Medium

Understanding ExecutorService in Java.

5 min read

Thread Pools

Medium

Understanding Thread Pools in Java.

5 min read

Future

Medium

Understanding Future in Java.

5 min read

CompletableFuture

Medium

Understanding CompletableFuture in Java.

5 min read

ForkJoinPool

Medium

Understanding ForkJoinPool in Java.

5 min read

CountDownLatch

Medium

Understanding CountDownLatch in Java.

5 min read

CyclicBarrier

Medium

Understanding CyclicBarrier in Java.

5 min read

Semaphore

Medium

Understanding Semaphore in Java.

5 min read

Phaser

Medium

Understanding Phaser in Java.

5 min read

Concurrent Collections

Medium

Understanding Concurrent Collections in Java.

5 min read

9. JVM & Memory

10. Garbage Collection

11. Interfaces & Advanced OOP

12. Java Memory Model

13. I/O & Serialization

14. Reflection & Annotations

15. Modern Java

16. Virtual Threads & Modern Concurrency

17. JDBC & Database

18. Testing

19. Performance & Best Practices

20. Interview Questions

== vs equals()

Medium

Understanding == vs equals() in Java.

5 min read

equals() & hashCode()

Medium

Understanding equals() & hashCode() in Java.

5 min read

HashMap Internals

Medium

Understanding HashMap Internals in Java.

5 min read

ArrayList vs LinkedList

Medium

Understanding ArrayList vs LinkedList in Java.

5 min read

HashMap vs ConcurrentHashMap

Medium

Understanding HashMap vs ConcurrentHashMap in Java.

5 min read

Comparable vs Comparator

Medium

Understanding Comparable vs Comparator in Java.

5 min read

String vs StringBuilder vs StringBuffer

Medium

Understanding String vs StringBuilder vs StringBuffer in Java.

5 min read

Abstract Class vs Interface

Medium

Understanding Abstract Class vs Interface in Java.

5 min read

Overloading vs Overriding

Medium

Understanding Overloading vs Overriding in Java.

5 min read

Composition vs Inheritance

Medium

Understanding Composition vs Inheritance in Java.

5 min read

Checked vs Unchecked Exceptions

Medium

Understanding Checked vs Unchecked Exceptions in Java.

5 min read

final vs finally vs finalize

Medium

Understanding final vs finally vs finalize in Java.

5 min read

throw vs throws

Medium

Understanding throw vs throws in Java.

5 min read

Stack vs Heap

Medium

Understanding Stack vs Heap in Java.

5 min read

JVM vs JDK vs JRE

Medium

Understanding JVM vs JDK vs JRE in Java.

5 min read

Garbage Collection

Medium

Understanding Garbage Collection in Java.

5 min read

synchronized vs volatile

Medium

Understanding synchronized vs volatile in Java.

5 min read

Runnable vs Callable

Medium

Understanding Runnable vs Callable in Java.

5 min read

ExecutorService

Medium

Understanding ExecutorService in Java.

5 min read

CompletableFuture

Medium

Understanding CompletableFuture in Java.

5 min read

Stream API

Medium

Understanding Stream API in Java.

5 min read

map vs flatMap

Medium

Understanding map vs flatMap in Java.

5 min read

? extends vs ? super

Medium

Understanding ? extends vs ? super in Java.

5 min read

Immutable Objects

Medium

Understanding Immutable Objects in Java.

5 min read

Java Memory Model

Medium

Understanding Java Memory Model in Java.

5 min read

Deadlocks

Medium

Understanding Deadlocks in Java.

5 min read

Virtual Threads

Medium

Understanding Virtual Threads in Java.

5 min read

Spring Dependency Injection

Medium

Understanding Spring Dependency Injection in Java.

5 min read

JPA Lazy vs Eager Loading

Medium

Understanding JPA Lazy vs Eager Loading in Java.

5 min read

N+1 Query Problem

Medium

Understanding N+1 Query Problem in Java.

5 min read