when a user adds a new flower i need to create a new flower class for that flower
...how to do that?
You can't do that without a whole lot of trickery-dickery. Are you sure you need
to create a new class? Wouldn't a new set of attributes of a flower be enough?
Well, if you're sure about that you have to type in the entire class definition
yourself. If you compare your new class to one of your existing Flower classes
what's different then? The values of the members? If so, you don't need a new
class at all.
Comment