|
home—info—exams—lectures—labs—hws
Recipe—Laws—lies—syntax—java.lang docs—java.util docs
Leaf aNewLeaf; aNewLeaf = new Leaf(); aNewLeaf.addToWorld(3,2,this.getWorld()) // We must first change class Actor, so that // addToWorld is public, for the preceding line to compile. |
1Thanks to Thomas Karp for the idea. ↩
home—info—exams—lectures—labs—hws
Recipe—Laws—lies—syntax—java.lang docs—java.util docs
©2008, Ian Barland, Radford University Last modified 2008.Jan.24 (Thu) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |