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
16. In a class specifier, data or functions designated private are accessible
A. to any function in the program
B. only if you know the password
C. to member functions of that class
D. only to public members of the class
Advertisement
17. When a function includes a throw statement for errors, the call to the potentially offending function should be placed within a _____ block
A. throw
B. try
C. catch
D. scope
Advertisement
18. The scope resolution operator is
A. a comma
B. a semicolon
C. a colon
D. two colons
Advertisement
19. “C++” is a _____ constant
A. character literal
B. named literal
C. numeric literal
D. string literal
Advertisement
20. In a C++ program, which of the following can be thrown?
A. scalar variables
B. programmer-defined objects
C. both (a) and (b)
D. neither (a) nor (b)
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
< PREVIOUS POSTObject Oriented Programming Using C++ - Section 1