Which of the following is a benefit of inheritance?

(A) Inheritance leads to the duplication of code in multiple classes.
(B) Inheritance allows two or more classes to share some common features yet
differentiate themselves on others.
(C) Inheritance allows variables to be collected in arrays.
(D) Inheritance allows Visual Basic programs to directly connect to databases.


(B) Inheritance allows two or more classes to share some common features yet
differentiate themselves on others.

Computer Science & Information Technology

You might also like to view...

A programmer indicates a job’s class by coding a __________ parameter on an OS/JCL JOB statement.

a. positional b. CLASS c. PRIORITY d. none of the above

Computer Science & Information Technology

Derive a class named Dress Shoes from the base class created in number 9 above.

What will be an ideal response?

Computer Science & Information Technology

Match the following Windows Components with their meanings:

I. Title bar II. Minimize III. Maximize IV. Close V. Ribbon Display Options A. Hides the Ribbon, show only Ribbon tabs, etc. B. Hides a window, but does not close it. C. Removes a program from memory. D. The long area at the top of each window E. Makes a window full size

Computer Science & Information Technology

The figure element is a(n) ____________________ structure tag.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology