11. A constructor always has
A. communicational cohesion
B. temporal cohesion
C. logical cohesion
D. no cohesion
12. A normal C++ operator that acts in special ways on newly defined data types is said to be
A. glorified
B. encapsulated
C. classified
D. overloaded
13. A function in a derived class that has the same name as a function in the parent class
A. will override the base class function
B. will cause an error message to display
C. will be overridden by the base class function
D. will execute immediately often the base class function executes
14. In which statements, does a ‘continue’ statements cause the control to go directly to the test condition and then continue the looping process?
A. ‘for’ and ‘while’
B. ‘while’ and ‘if-else’
C. ‘do-while’ and ‘if-else’
D. ‘while’ and ‘do-while’
E. None of the above
15. Which of the following statements is false?
A. You typically use a public member function to change the value in a private data member
B. Because the constructor function does not return a value, you place the keyword void before the constructor’s name
C. The public member functions in a class can be accessed by any program that uses an object created from that class
D. An instance of a class is considered an object
Warning: Undefined variable $in_same_cat in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
Warning: Undefined variable $excluded_categories in /www/wwwroot/mtexam.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27