Stage 2 of 11
Predict the output
Read short code and type exactly what it prints.
- Not startedStrings and immutabilityString operations, joining with numbers, and comparisons.0/10
- Not startedNumbers and arithmeticInteger division, remainders, overflow, decimals and rounding.0/10
- Not startedOperators, conditions and loopsIncrement operators, precedence, short-circuiting and loop counts.0/10
- Not startedReferences, copies and mutabilityTwo names for one object, copies, and passing values to functions.0/9
- Not startedCollectionsLists, sets and maps: order, duplicates, removal and missing keys.0/11
- Not startedExceptions and finallyWhich blocks run, in which order, and what is returned.0/10
- Not startedClasses, static members and inheritanceOverriding, hiding, constructors order and shared state.0/10
- Not startedScope, closures and lambdasWhich variable a name refers to, and what a closure captures.0/9
Not startedNot startedIn progressIn progressSolvedSolvedPro+Pro+
The first 2 questions of each topic are free. Pro+ opens every question.