O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Section 6: Overloading, Overriding, Runtime Type and Object Orientation

  • Write code to invoke overridden or overloaded methods and parental or overloaded constructors; and describe the effect of invoking these methods.

  • Write code to construct instances of any concrete class including normal top-level classes and nested classes.

Relevant Sections

Read Sections 6.1 “Single Implementation Inheritance” through Section 6.3 “Chaining Constructors Using this() and super().” See also Sections 4.4 “Constructors,” 7.3Non-static Member Classes,”and 7.4Local Classes” for constructing instances of nested classes.

Study Notes

Pay attention to which casts are allowed between superclasses and subclasses at compile time, and the effect of casts at runtime. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required