Question: java what is the right answer 5. Tree and Animal share common properties such as height and weight. 5. Tree and Animal share common properties
5. Tree and Animal share common properties such as height and weight. 5. Tree and Animal share common properties such as height and weight. a) The Tree class inherits the Animal class b) The Animal class inherits the Tree class c) The inheritance is not possible Both Tree and Animal classes inherit from forest class. d) Both Tree and Animal classes inherit from forest class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
