Applying Object-Oriented Principles in Java ProgramsReference overloads, null and ambiguity
In one line: A null argument fits every reference parameter, so it goes to the type that is a subtype of all the others, or the call is ambiguous.
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?