Languages & Frameworks

Java & JVM

6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.

  • How does garbage collection work on the JVM, and how would you decide which collector to use for a service? Mid level
  • What are virtual threads on the JVM, and how do they differ from the platform threads you'd traditionally use?Go Pro Mid level
  • In Java, what's the difference between a checked exception and an unchecked exception, and how does the compiler treat each?Go Pro Intern level
  • In Java, what's the difference between heap memory and stack memory, and what kind of data lives in each?Go Pro Intern level
  • What's the difference between checked and unchecked exceptions in Java, and how do you decide which to use?Go Pro Junior level
  • In Java, why is comparing strings with == risky, and how does the String pool relate to it?Go Pro Junior level
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.