Mid-level Java Developer interview questions

Shared by steffi mueller
Cards 52
Type Phrases
Language pair
Last updated Jun 2, 2026

[Core Java] Explain the Java Memory Model.

Defines how threads interact through memory, visibility, ordering guarantees.

[Multithreading] What is the difference between synchronized and ReentrantLock?

ReentrantLock more flexible: fairness, tryLock, multiple conditions.

[Collections] How does HashMap work internally?

Array of buckets, hashing, linked lists or trees for collisions (Java 8+).

+ 49 more cards after adding to your boxes

Comments

Sign in to leave a comment.