Flashcards
OOP flashcards
Flashcards do conjunto (17)
- 1Define a classA class is a blueprint for an object.
- 2Define an objectAn object is an instance of a class
- 3Define an attributeAn attribute is a named value for an object
- 4Define a MethodAn action that can be applied to an object
- 5Define a constructorA method that creates a new instance of an object.
- 6Define a setterSetters are method that can change attributes
- 7Define a GetterGetters are method that get the values of attributes
- 8Define EncapsulationEncapsulation is attributes and method being in a single entitty
- 9Define PolymorphismPolymorphism is when a method in a class hierarchy can behave differently in each class
- 10Define inheritanceGaining attributes and methods from a superclass to be used in a subclass
- 11Define Composition associationB has no meaning in the system without A
- 12Define Aggregation associationB exists without A
- 13What is the symbol for Composition?A filled diamond with a solid line
- 14What is the symbol for aggregation?An unfilled diamond with a solid line
- 15Abstract MethodUsed to specify that a subclass must provide an implementation of the method
- 16Virtual methodimplementation can be redefined by subclasses
- 17static methodrelevant to all the instances of rather than to any specific instance
Informações
- Descrição
- FlashCards sobre OOP flashcards, criado por daniel upton em 25-02-2019.
- Criado por
- daniel upton
- Visualizações
- 1
- Avaliação