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

Mapa mental

Inheritance

MARSHALL S Inglês

Conteúdo do mapa

Inheritance

  1. (Parent, Super) Class

    • Abstract
      • An Abstract Class is a class that cannot be instantiated as an object. This type of class does not require an abstract method; however, if an abstract method is located within a class, the class must be abstract.
    • Private
      • A private method is where the class cannot be instantiated as an object, and subclasses can not be established from this class.
    • Public
      • A public method is where the class can be instantiated as an object and all the methods within the class are inherited.
    • Protected
      • A private method is where the class cannot be instantiated as an object; however, all public subclasses can be instantiated, and the subclasses still inherit the parent’s methods.
    • OverLoading
      • Method Overloading is when a method contains the same method name; however, the method header is different from the method in the class or parent class.
  2. (Child, Sub) Class

    • Abstract
      • An Abstract Class is a class that cannot be instantiated as an object. This type of class does not require an abstract method; however, if an abstract method is located within a class, the class must be abstract.
    • Private
      • A private method is where the class cannot be instantiated as an object, and subclasses can not be established from this class.
    • Public
      • A public method is where the class can be instantiated as an object and all the methods within the class are inherited.
    • Protected
      • A private method is where the class cannot be instantiated as an object; however, all public subclasses can be instantiated, and the subclasses still inherit the parent’s methods.
    • Super
      • KeyWord used to call the superclass version of a method or field.
    • Overloading
      • Method Overloading is when a method contains the same method name; however, the method header is different from the method in the class or parent class.
    • Overriding
      • Method Overriding is when a method established in the parent class is changed or altered in the subclass, while maintaining the same method header.

Informações

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

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?