Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started