Which of the following must exist to inherit attributes from a particular class?
A.
Public properties
B.
A has-a relationship
C.
Static members
D.
An is-a relationship
Explanation:
Visual Basic has been a pioneer of binary code reuse — controls being the classic example.
You reuse the code in a control by placing an instance of the control on your form. This is
known as a containment relationship or a has-arelationship; that is, the form contains or has
a CommandButton.