MIDTERM QUIZ1: Flashcards
Organizes the program into logical blocks of code
Functions
the keyword _____ refers to the current instance of the class
this
an abstraction meant to represent a component of a program
Object
A multi level type of inheritance only that it overrides the same method declared in child class
Polymorphism
a type of inheritance where classes has the same parent class
Hierarchical Inheritance
TRUE OR FALSE
Multiple inheritance is described as more than one class having the same parent class.
False
TRUE OR FALSE
mutator is another term used for getters
False
TRUE OR FALSE
objects can be created, destroyed, and be given with attributes and made to perform actions
True
mutators is defined using the keyword___
set
TRUE OR FALSE
Named constructors enables a class define multiple constructors
True
A type of inheritance where a class can inherit attributes of another child class
Multi-level Inheritance
The keyword ___ is used to instantiate an object
new
This principle leads to a concept in object-oriented programming that allows a class to extend its attribute from another class.
Inheritance
TRUE OR FALSE
derived class inherits the characteristics of base class
True
allows you to access the properties of the class through interface without worrying its internal implementation
Abstraction