GoConqr has a new look! Let us know what you think.

Flashcards

Object-Oriented Programing

Wei Cheng Chang English 10 cards

Cards in this deck (10)

  1. 1What is OOP.It is a type of computer programming in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure.
  2. 2ClassBlueprint for an object.
    Define attributes and methods of an object.
    (Basically a template for an object along with its action such as moving , speaking..)
  3. 3EncapsulationOne of the fundamental principle for OOP.
    This concept is also often used to hide the internal representation, or state, of an object from the outside OR separating program into modules.
  4. 4InstantiationCreating an object from class blueprint
  5. 53 basic object-oriented programming principles-Encapsulation
    -Inheritance
    -Interface
  6. 6InheritanceThe ability to derive new classes from existing classes. A derived class (or "subclass") inherits the instance variables and methods of the "base class", and may add new instance variables and methods.
  7. 7PolymorphismA method used in the base class can behave differently in each sub class. A method with the same identifier inherited from the base class can be altered and overrided in the sub class.
  8. 8Association-Composition
    -Aggregation
  9. 9Composition vs InheritanceComposition is less rigid than inheritance
  10. 10Interface

Information

Description
Flashcards on Object-Oriented Programing, created by Wei Cheng Chang on 06/06/2019.
Created by
Wei Cheng Chang
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?