To avoid duplicating code (and possibly errors) ,use ________,rather than ________.
A) inheritance,the "copy-and-paste" approach
B) the "copy-and-paste" approach,inheritance
C) a class that explicitly extends Object,a class that does not extend Object
D) a class that does not extend Object, a class that explicitly extends Object
Correct Answer:
Verified
Q1: A method must be declared _ for
Q2: All classes in Visual Basic have Object
Q3: Which of the following pairs demonstrates the
Q5: _ is a form of xe "code
Q7: Which of the following could be a
Q8: An advantage of inheritance is that:
A)all methods
Q10: A derived class can add its own
Q11: A base class may have only one
Q11: Every class in Visual Basic except _
Q32: A base class's constructors are inherited into
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