Object Oriented Programming Using C++ – Section 5

26. You construct a class in two sections, known as the _____

A. header and body
B. type and parameters
C. declaration and implementation
D. pointer and variable

Correct Answer: C. declaration and implementation

27. It is sometimes useful to specify a class from which no objects will ever be created

A. True
B. False

Correct Answer: A. True

28. The statement i*=3 is equivalent to

A. i = 3*
B. i = 3
C. i* = 3
D. i = i * 3
E. None of the above

Correct Answer: D. i = i * 3

29. The complement operator is represented by the symbol

A. ~
B. ^
C. i
D. <
E. None of the above

Correct Answer: A. ~

30. One of the relational operators in the C language is

A. !=
B. &&
C. !
D. #
E. None of the above

Correct Answer:  A. !=

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

Leave A Comment?