Applying Object-Oriented Principles in Java ProgramsPhase 2: box then widen is allowed, widen then box is not
In one line: In phase 2 a primitive may box and then widen as a reference, but never widen first and box afterwards, so int never reaches Long.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.
Spotted a mistake in this part?