#import @interface List : Object // List is a subclass of the superclass Object { int list[100]; // These are instance variables. int size; } /* Public methods */ - free; - (int) addEntry: (int) num; - print; /* Private methods */ /* Other programs should not use these methods. */ - resetSize; @end