Flashcards
OOP vocabulary
Cards in this deck (17)
- 1ClassA template, blueprint or contract that defines what an object's data fields and methods will be; a construct that defines objects of the same type
- 2objectHas a unique identity, state, and behavior; an instance of a class
- 3ConstructorA special method within a class that creates a new object (initialization of an object)
- 4Static variablesshared by all objects of the class; can't access instance members of the class
- 5Instance variableTied to specific instance of the class; can't be shared among objects of the same class
- 6PublicVisibility modifier for classes, methods, and data fields to denote that they can be accessed from any other classes
- 7PrivateVisibility modifier that makes methods and data fields accessible only from within its own class
- 8getterMakes a private data field accessible and returns its value
- 9setterMethod that enables a private data field to be updated
- 10immutableAn object or class whose contents cannot be changed once created
- 11thisKeyword refers to the object itself
- 12abstractionThe separation of class implementation from the use of the class
- 13Class encapsulationThe details of implementation are hidden from the user
- 14associationA general binary relationship that describes an activity between 2 classes
- 15AggregationRepresents an ownership relationship between two objects (has-a)
- 16CompositionAn object is exclusively owned by an aggregating object
- 17InheritanceEnables you to define a general class and later extend it to more specialized classes
Information
- Description
- Computer Science (Object Oriented Programming) Flashcards on OOP vocabulary, created by Jennifer Slogar on 08/04/2017.
- Created by
- Jennifer Slogar
- Views
- 1
- Tags
- Rating