Unformatted text preview: below it and so on. So for what is on the left, you have. .. Then you build a table of methods from the top of the tree on down. tf you call "super.<somemethod>0", then look at the inheritance tree for the super ctass and copy whatever it's <somemethod>O does into your cell of the table. lf your cell says <method>fl (note the lack of super.), then just write "<method>0" in the cell so if it's inherited, you do the correct thing. Fourth Remember that when executing a method for ObjectType, execute only the methods of ObjectType. For example, if the ObjectType Third, then a call to its method30 will call Third's method3. Class First Second...
View Full Document
- Spring '08
- Inheritance, Trigraph, System. ut.p rin, ut.p rin tln