Computer Science - Object Oriented Programming Using C++

6.
The best-written classes have
all functions private
all data public
no functions
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
Making class members inaccessible to nonmember functions is an example of
polymorphism
data hiding
redundancy
recursion
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
Providing two or more constructors for the same class _____
requires different argument lists
requires different constructor names
requires different constructor types
is illegal
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
3 is a _____ constant
character literal
named literal
numeric literal
string literal
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
_____ variables remain in memory until the statement block ends
Area
Global
Local
Reference
Value
Answer: Option
Explanation:
No answer description is available. Let's discuss.