• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/7

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

7 Cards in this Set

  • Front
  • Back

What is OOP?

Object Oriented Programming is a programming language model organized around objects rather than "actions" and data rather than logic.

What are the four pillars of OOP?

1. Encapsulation.


2. Inheritance.


3. Polymorphism.


4. Abstraction.

Explain what encapsulation in OOP is?

Encapsulation - is when you hide your modules internal data and all other implementation details/mechanism from other modules. It is also a way of restricting access to certain properties or component.

Explain what Inheritance in OOP is?

Inheritance - The ability of creating a new class from an existing class. It is a practice of passing on property, titles, debts, rights and obligations from a base class.

Explain what Polymorphism in OOP is?

Polymorphism - refers to the ability of a subclass to define its own unique behaviour and still share the same functionalities or behavior of its parent/base class.

Explain what Abstraction in OOP is?

Abstraction - Is a process of exposing essential feature of an entity while hiding other irrelevant detail.

What is the difference between an object and a class?

An object is an instance of a class. A class is the definition of an object. It does not actually become an object until it is instantiated. Since an abstract class can't be instantiated, no object of that type can created. A sub class would need to be defined in order for an object to created.