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

home—info—lects—labs—exams—hws
tutor/PIs—Object120 + its docs—java.lang docs—java.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!      ↩

home—info—lects—labs—exams—hws
tutor/PIs—Object120 + its docs—java.lang docs—java.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