#import #import "List.h" // Note the new commenting style. main() { id list; // id is a new data type for objects. list = [List new]; // create an instance of class List. [list addEntry: 5]; // send a message to the object list [list print]; [list addEntry: 6]; [list addEntry: 3]; [list print]; [list free]; // get rid of object }