Explore BrainMass

Inheritance in JAVA

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.

Solution Preview

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 ...

Solution Summary

A discussion on inheritance and its value to programmers.