Computer Science - Object Oriented Programming Using C++

31.
The _____ function returns the uppercase equivalent of a character
caseupper
charupper
toupper
uCase
upper
Answer: Option
Explanation:
No answer description is available. Let's discuss.

32.
When you instantiate a derived class object, a constructor for the derived class _____
is not called
is called prior to the base class constructor
is called simultaneously with the base class constructor
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

33.
A constructor may be _____
provided automatically by C++
written by you
either (a) or (b).
neither (a) nor (b).
Answer: Option
Explanation:
No answer description is available. Let's discuss.

34.
Software that can be used in applications other than the one for which it was originally written is called
recyclable
inherited
reusable
cheating
Answer: Option
Explanation:
No answer description is available. Let's discuss.

35.
Which of the following statements is false?
A class encapsulates all of an object's attributes and behaviors
An example of an attribute is the minutes variable in a time class
An example of a behavior is the setTime function in a time class
A class is considered an object
An object created from a class is referred to as an instance of the class
Answer: Option
Explanation:
No answer description is available. Let's discuss.