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.
You might also like to view...
Using a traditional error-handling method to avoid dividing by 0 prevents the error and makes the method more flexible.
Answer the following statement true (T) or false (F)
The ____________________ of two tables is the set of all rows that are in the first table but that are not in the second table.
Fill in the blank(s) with the appropriate word(s).