Interview flashcards

174 questions collected from every lesson, from core Java to microservices. Try answering out loud before you reveal the model answer.

You know 0 of 174 questions.

What causes StackOverflowError?
Recursion or iteration?
Can enums have constructors?
Why are enums good singletons?
HashMap vs LinkedHashMap vs TreeMap?
How would you build an LRU cache in Java?
Intermediate vs terminal operations?
map vs flatMap?
What does exports do in module-info.java?
What does an in-order walk of a BST produce?
Explain the Liskov substitution principle with an example.
How does Spring help with dependency inversion?
How do you handle unknown fields from an external API?
Do virtual threads make code faster?