Use the NEW method to define an instance of the new class, and then call methods that the instance inherited from its superclass. To define an instance of the Savings class named "John Smith," and send John Smith the TYPE and NAME= messages to call the related methods, enter:
newaccount = savings~new say asav~type asav~name = 'John Smith'
Now that you've read how to create your own classes, what types of classes might you want to create? The next section explains what you can do using the different types of classes.