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.
Correct Answer:
Verified
Q49: In the hierarchy chart shown below, which
Q50: Statements of which of the following kind
Q51: Which of the following is an example
Q52: The _ feature of Visual Basic allows
Q53: In the hierarchy chart shown below, GrandChild1
Q55: It can be said that class Student
Q56: Which of the following statements best applies
Q57: The keyword WithEvents is inserted into the
Q58: Inheritance is the process by which the
Q59: Inheritance does not enhance code reusability.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents