¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Inheritance

MARSHALL S Inglés

Contenido del 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.

Información

Descripción
Mapa Mental sobre Inheritance, creado por MARSHALL S el 21/11/2019.
Creado por
MARSHALL S
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?