O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

Inheritance

Ryan Weems Inglês

Conteúdo do mapa

Inheritance

  1. Parent class

    • P has three methods, one public, one protected, and one with the default access level
      • class has only one constructor, the one that accepts a String
    • Child class
      • C is a subclass of P . As you can see in the C class’s testMethods method, C can access its parent’s public and protected method. In addition, because C and P are in the same package, C can also access P's default method
  2. Box Class

    • overrides the public toString method and the protected clone method.
  3. Type Casting

    • To upcast a Child object, all you need to do is assign the object to a reference variable of type Parent .
  4. Inheritance makes code extensible.

Informações

Descrição
Mapa Mental sobre Inheritance, criado por Ryan Weems em 21-11-2019.
Criado por
Ryan Weems
Visualizações
0
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?