Computer Science - Object Oriented Programming Using C++

16.
The number 125.35 is a _____
character literal constant
numeric literal constant
string literal constant
variable
Answer: Option
Explanation:
No answer description is available. Let's discuss.

17.
When a class serves as a base class to others, _____
all of its members are inherited
all of its members are inherited, except for any private members
all of its members are inherited, except for any protected members
None of its members is inherited unless specifically "listed
Answer: Option
Explanation:
No answer description is available. Let's discuss.

18.
Storing a class definition in a separate file is an example of
polymorphism
name mangling
implementation hiding
inheritance
Answer: Option
Explanation:
No answer description is available. Let's discuss.

19.
Which is true?
Sequential cohesion is slightly weaker than functional cohesion
Sequential cohesion is slightly stronger than functional cohesion
Sequential cohesion is much stronger than functional cohesion
Neither sequential cohesion nor functional cohesion is stronger than the other
Answer: Option
Explanation:
No answer description is available. Let's discuss.

20.
A class named student must have a constructor whose name is
student
~student
constructor
any legal C++ name.
Answer: Option
Explanation:
No answer description is available. Let's discuss.