Flashcards
OOP
Flashcards do conjunto (15)
- 1ClassA blueprint for an object where all the attributes and methods are defined
- 2ConstructorIt is used to create objects based on the class
- 3EncapsulationWhen attributes and methods are wrapped into a single entity
- 4InstantiationCreating an object from the class blueprint
- 5Inheritance (Subclass)Creating a new class based on an existing class(superclass)
- 6PolymorphismA method used in a class hierarchy behave differently in each class
- 7OverridingA method with the same identifier in the superclass can be redefined or extended in a subclass
- 8AssociationWhen an object contains another object
- 9CompositionIf the containing abject object is destroyed so are the objects it contains
- 10AggregationThe object remain when the container object is destroyed
- 11Abstract methodConsists of only a signature and no implementation
- 12Virtual methodImplementation can be redefined by subclass
- 13Static methodRelevant to all instances of a class rather than to any specific instance
- 14InterfaceA collection of methods with no implementation
- 15Advantage of OOPExtensive planning phase makes for better design
Programmers can use existing objects without needing to know how they were implemented
Informações
- Descrição
- absolutely nothing Assassination FlashCards sobre OOP, criado por aaa aaa em 06-06-2019.
- Criado por
- aaa aaa
- Visualizações
- 0
- Avaliação