Object Oriented Programming Using C++ – Section 5


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

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
Advertisement

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
Advertisement

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
Advertisement

29. The complement operator is represented by the symbol

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

Correct Answer: A. ~
Advertisement

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

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

Correct Answer:  A. !=
Advertisement

Warning: Undefined variable $in_same_cat in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Leave A Comment?