![]() |
![]() |
![]() |
![]() |
![]() |
|
Now, assuming that your new Vegetable
class is to be a subclass of the Object class, you first select the
Object class by clicking the left mouse button while the cursor is
over Object in the class window.
Then, you click right > Add Subclass..., whereupon a popup window appears, soliciting the name for your new subclass of the object class.
Finally, type Vegetable as the name of the new subclass.