Object-Oriented Programming - Quiz

Score:

OOP stands for Object-_____ Programming.

A _____ is a template or blueprint from which objects can be instantiated from.

A ___________ is a subroutine defined within a class to implement a behaviour.

An ___________ (or property) is a variable defined within a class to store a value.

___________: When a sub-class inherits the methods and properties of a parent class.

An _____ is an instance of a class.

An ________ Class which will not be used to instantiate objects.

______________: "Hiding" properties and methods of a class from the "outside world" by making these private.

Over-loading _______________: Implementing a method multiple times to accept different parameters.

Over-riding _______________: Implementing an inherited method differently in a sub-class.

__________ class: Also called parent class or base class.

A ___ class, also called child class or derived class, inherits the methods and attributes from its parent class. .

A ___________ method or property can be accessed from outside the class.

A ___________ method or property cannot be accessed from outside the class.

A ___________ is a public method used to retrieve the content of a private property.

A ___________ is a public method used to set/overwrite the content of a private property.

___________ inheritance: When a class has two or more parent classes.

A ___________ is a method of a class that is automatically called when a new object is instantiated from this class.

Score:

100% Correct... Great job!