Computer Science - Object Oriented Programming Using C++

11.
A constructor always has
communicational cohesion
temporal cohesion
logical cohesion
no cohesion
Answer: Option
Explanation:
No answer description is available. Let's discuss.

12.
A normal C++ operator that acts in special ways on newly defined data types is said to be
glorified
encapsulated
classified
overloaded
Answer: Option
Explanation:
No answer description is available. Let's discuss.

13.
A function in a derived class that has the same name as a function in the parent class
will override the base class function
will cause an error message to display
will be overridden by the base class function
will execute immediately often the base class function executes
Answer: Option
Explanation:
No answer description is available. Let's discuss.

14.
In which statements, does a 'continue' statements cause the control to go directly to the test condition and then continue the looping process?
'for' and 'while'
'while' and 'if-else'
'do-while' and 'if-else'
'while' and 'do-while'
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

15.
Which of the following statements is false?
You typically use a public member function to change the value in a private data member
Because the constructor function does not return a value, you place the keyword void before the constructor's name
The public member functions in a class can be accessed by any program that uses an object created from that class
An instance of a class is considered an object
Answer: Option
Explanation:
No answer description is available. Let's discuss.