RU beehive logo ITEC dept promo banner
ITEC 120
2010fall
ibarland

homeinfolectslabsexamshws
tutor/PIsObject120 + its docsjava.lang docsjava.util docs

lect09a
while

We ended last time with:

    while (stu.creditHours < 120) {
      stu.takeCourseInteractive();
    }

Change this:


1 store the before-fields, and compare to after-fields; update a variable/counter; Closed form solution.
Of course, do not make a new field, though!      

homeinfolectslabsexamshws
tutor/PIsObject120 + its docsjava.lang docsjava.util docs


©2010, Ian Barland, Radford University
Last modified 2010.Oct.27 (Wed)
Please mail any suggestions
(incl. typos, broken links)
to iba�rlandrad�ford.edu
Powered by PLT Scheme