Why is it a good programming practice not to have too many layers of inherited classes?

A. Actually the more the merrier.
B. Easy to lose track of the members in the great-grandchildren classes.
C. so that you know which class’ constructor will execute first.
D. None of the above.


B

Computer Science & Information Technology

You might also like to view...

Draw and annotate a class hierarchy that represents various types of sales transactions in a store (cash, credit, etc.). Show what characteristics would be represented in the various classes of the hierarchy. Explain how polymorphism could play a role in the payment process.

What will be an ideal response?

Computer Science & Information Technology

In TCP, a(n) ____ is like a virtual circuit between two communicating applications.

A. address B. port C. socket D. handle

Computer Science & Information Technology

Isabella's manager has asked her to write up a _____ that describes their company's interest in developing a custom software solution for processing orders and asks vendors to estimate the cost and time needed to create the software.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The first thing you should do with a new router is to plug it into an existing network.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology