Skip to main content
PreparationZone Logo
PrepZone

Pack 4: Postfix, Floats & Dispatch

Nine senior phone-screen puzzles — i = i++, floats, static hiding, arrays, enums, reentrant locks.

Pass checkpoint below

Pack 4 — postfix, floats & dispatch

Postfix, floats & dispatch

Phone-screen speed checks senior loops still use.

0/9 solved
  1. What is printed?

    Java
    public class Main {
        public static void main(String[] args) {
            int i = 0;
            i = i++;
            System.out.println(i);
        }
    }
    Predict the output, then tap Run on the code block

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.

Test yourself

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