ProLesson 14.7Intermediate4 min readUpdated 30 October 2026
Quick-reference sheet and final quiz
One page to revise the whole Java track the night before an interview, plus a final mixed quiz across every module.
Everything important from the Java track on one page. Read it the night before an interview, then take the final quiz.
01Language basics
- 8 primitives:
byte,short,int,long,float,double,boolean,char. Local variables have no default; fields do. - Integer division drops the remainder:
7 / 2 = 2. Make one side adouble. - Casting narrowing truncates:
(int) 4.9 = 4. UseMath.roundto round. &&and||short-circuit;x++returns the old value,++xthe new one.- Arrow switch never falls through; switch expressions return values with
->oryield. - Pass-by-value, always. Objects pass a copy of the reference.
Loading the rest of the lesson…