Object Oriented Programming Using C++ – Section 1


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. To be called object-oriented, a programming language must allow

A. functions that return only a single value
B. #include files
C. inheritance
D. All of the above

Correct Answer:  C. inheritance
Advertisement

17. A function that returns no values to the program that calls it is _____

A. not allowed in C++
B. type void
C. type empty
D. type barren

Correct Answer:  B. type void
Advertisement

18. The keyword used to define a structure is _____

A. stru
B. stt
C. struct
D. structure

Correct Answer:  C. struct
Advertisement

19. If container classes are carefully constructed, then these tools are available to work with structures that are not ______

A. valid without container classes
B. programmer-defined
C. type-specific
D. public

Correct Answer:  C. type-specific
Advertisement

20. Header files often have the file extension _____

A. .H
B. .HE
C. .HEA
D. .HEAD

Correct Answer:  A. .H
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?