How is inheritance useful?
A. It prevents inherited properties from being lost
B. It minimizes the amount of code which has to be written
C. It creates elegant tree structures in the class model
D. It divides objects up into useful classes
Answer:B
How is inheritance useful?
A. It prevents inherited properties from being lost B. It minimizes the amount of code which has to be written C. It creates elegant tree structures in the class model D. It divides objects up into useful classes