Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Questions on HW7-Summer08

Question: In order to have the corn multiply, I created an addCorn() method in Model.java. But I can't get it to be successfully called from Corn.java. For example,
   mySolution.Model.addCorn();
results in an
   Error: non-static method addCorn() cannot be referenced from a static context.
I can't figure out how to get this to work. I know an accessor must be used, because lst is private.

Question: Is there going to be a practice test posted for Test 3? If so, when? Thank you.

Question: The grace period for this assignment extends until 6 p.m. Monday, correct?



Links to this Page