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 in the attachment:
For this learning event, you should develop a similar class hierarchy for Plants. You can have whatever subclasses you think would be useful, but your hierarchy should have at least three levels (the top class, Plants, counts as the first level). Include variables and methods (at least one of each) for each class you design, as in the above example.© BrainMass Inc. brainmass.com October 10, 2019, 12:41 am ad1c9bdddf
Please find attached the program file !
Kindly let me know, if you ...
The whole project is properly commented and all the coding guidelines have been followed !!! Grab the solution and enjoy the high quality work !!!