GoConqr has a new look! Let us know what you think.

Mind map

Inheritance

karloski English

Map content

Inheritance

  • The "is-a" relationship.
  • Final classes cannot be extended.
  • public ExtendedClass(args) {super(ParentClass);} If the above is not present, the no-constructor method is invoked implicitly.
  1. Shadowing

  2. Override

    • Redefine.
  3. Protected/Public

    • Only fields that are public or protected can be accessed by an extended class.
  4. Abstract vs. Concrete

    • Abstract classes cannot be instantiated.
    • Allows for abstract methods, which can be called on the parent but use the subclass variant, if the subclass variant is invoked at runtime.
  5. Extends

Information

Description
Mind Map on Inheritance, created by karloski on 18/05/2015.
Created by
karloski
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?