Explore BrainMass
Share

Java programmers and class hierarchies

Java programmers can use class hierarchies for the purposes of inheritance. For example, given a Tree class, we could define Conifer and Deciduous sub classes that inherit from the parent Tree class as you can see here:

See attached file for full problem description.

© BrainMass Inc. brainmass.com August 22, 2018, 12:16 am ad1c9bdddf

Attachments

$2.19