Question: define a plant subclass called flower using super method with two instance variables name and color. you must include constructor method that initializes each new
define a plant subclass called flower using super method with two instance variables name and color. you must include constructor method that initializes each new variable to an appropriate value and functions for setting and getting. Plant class only holds constructor for species genus and family and has a class function that prints I'm a plant with set and get functions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
