To avoid duplicating code (and possibly errors) ,use ________,rather than ________.
A) inheritance, the "copy-and-paste" approach.
B) the "copy-and-past" 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
Q19: Multiple inheritance,widely used in C#,is the process
Q20: All classes in C# have object as
Q21: Which base class members are inherited by
Q22: Base class methods with this level of
Q23: Consider the classes below,declared in the same
Q25: Which of the following classes is the
Q26: The protected members of a class may
Q27: Overriding a method differs from overloading a
Q28: When a derived class constructor calls its
Q29: How can a derived class call a
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