Skip to main content
PreparationZone Logo
PrepZone

Tricky Output Workbench (38 puzzles)

Curated predict-the-output bank with Java-formatted code, reveal flow, filters, and progress tracking.

Pass checkpoint below

How to use this workbench

  1. Expand a puzzle and run the snippet in JShell or your IDE (every class is self-contained Main).
  2. Write the exact console output on paper — include line breaks.
  3. Tap Reveal output, then I got it right to track progress (saved in your browser).
  4. Use the four pack lessons when you want a smaller slice before an interview.

The rest of this guide is part of Pro

Free covers every fresher guide in full. Pro unlocks Senior, Staff and Architect guides across every track.

Still to come · 1 section

  • All 38 puzzles

Test yourself

Answer these before moving on — recall is what makes it stick.