Suggested Skills: 2.C, 3.C
LO 1.14.A — Develop code to call instance methods and determine the result of these calls.
1.14.A.1 — Instance methods are called on objects of the class. The dot operator is used along with the object name to call instance methods.
1.14.A.2 — A method call on a null reference will result in a NullPointerException.
null
NullPointerException
Last updated 43 minutes ago
Was this helpful?