Which of the following is true about using inheritance in software engineering?
A) Common attributes and behaviors should be factored out of closely related classes and placed into a base class from which the original classes can now inherit.
B) It is best to create a huge class library to make it easy for a client to find the most appropriate class for his or her needs.
C) A class produced through inheritance should be as large as possible to fully encompass all of the functionality it should offer.
D) The standard C++ libraries that are shipped with C++ compilers are usually enough to accomplish anything an application might need to do.
Correct Answer:
Verified
Q1: Select the false statement regarding inheritance.
A) A
Q3: Which of the following is not one
Q4: From most restrictive to least restrictive, the
Q7: Which of the following is most likely
Q9: When should base class members be declared
Q9: Suppose class A inherits from base class
Q11: Which forms of inheritance are is-a relationships?
A)
Q14: To declare class subClass a privately derived
Q16: Which of the following is not a
Q17: When an object of a derived class
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