Data abstraction, inheritance, and composition are Java concepts. Can you Choose one and explain it in your own words. Discuss why you think the concept is useful for a programmer. Develop your own unique example to demonstrate how you would use the concept. Include code that clearly illustrates the selected concept.© BrainMass Inc. brainmass.com October 2, 2020, 5:19 am ad1c9bdddf
Inheritance is a useful and time saving tool. With it, information and code can be transferred to a new class. The class must be related and it becomes a subclass of the one from which the information is taken. Classes that are derived (or borrowed) from other classes are descending classes. It forms the hierarchy of the ...
A discussion on inheritance and its value to programmers.