Quiz10-Object Oriented Programming Flashcards
The act of declaring a class variable does not actually create an object in memory. (T/F)
True
If a constructor is not written when the class is compiled, then a constructor is automatically provided and is known as the ‘default constructor’. (T/F)
True
Entities do not have direct access to the object’s private methods.(T/F)
True
In an inheritance relationship, the superclass inherits members from the subclass.(T/F)
False
There are primarily three methods of programming in use today: procedural, recursive, and object oriented.(T/F)
False
UML (Unified Modeling Language) is another name for a flowchat that uses classes.(T/F)
False
A constructor is a member of a class that holds data.(T/F)
False
_________ programming is centered on the procedures of actions that take place in a program.
Procedural
___________ programming encapsulates data and functions in an object.
Object-oriented
A(n) __________ entity contains both data and procedures.
object
The variables, arrays, or other data structures that are stored in an object are known as the object’s _____________.
fields
The procedures that an object performs are known as the object’s ____________.
methods
In the pseudocode of the textbook, a class __________ starts with the word Class, followed by the name of the class.
definition
The fields and methods that belong in a class are known as the class’s __________.
members
In a class definition, if the word Private appears before a field declaration, Private is known as a(n) _____________.
access specifier