Flashcards
OOP
Cards in this deck (12)
- 1Object Oriented ProgrammingA programming method where objects are created and all the methods and variables used for that object are defined within the scope of that object.
- 2Procedural ProgrammingA program consisting of step by step instructions, calls to subroutines and local and global variables.
- 3ClassA blueprint for an object, where all the attributes and methods that define the object are created.
- 4EncapsulationA fundamental principle where all attributes and methods are wrapped into a single entity.
- 5Information HidingAn objects attributes are hidden and can only be accessed and changed via and objects methods. They require getters and setters to retrieve the attributes.
- 6InstantiationCreating an object from the class the blueprint.
- 7InheritanceA method by which a subclass utilities the attributes and methods of its super class.
- 8PolymorphismA method by which the a method in the super class is overwritten in the subclass to be used for a different purpose.
- 9AssociationThe use of composition and aggregation.
- 10CompositionIf the outer object is destroyed, the items within are also destroyed. The relationship between items is detrimental to one another.
- 11Aggregationf the outer object is destroyed, the items within are NOT destroyed. The super-object does not relay on the sub-objects in order to continue functioning.
- 12Abstract MethodA method by which the declaration of a method in a program is done in the subclass however the name and subroutine type is done in the Super class.
Information
- Description
- Year 10 Computing Flashcards on OOP, created by Rubber_ Ducky122 on 06/06/2019.
- Created by
- Rubber_ Ducky122
- Views
- 0
- Rating