|
home—info—lects—labs—exams—hws
textbook—tutor/PIs—java.lang docs—java.util docs
Today we will have a lab quiz — just like a normal lab, but you work by yourself and you submit your program at the end of class. (WebCT for barland, and drop-box for okie).
Completing the quiz will require the skills: Given a verbal description, make a class with a few fields; write a constructor; be able to write getter-methods for the fields, and be able to write a method which will modify the fields (probably requiring an if-else).
For example, "make a bank account with methods deposit, withdraw, and getBalance; make sure the balance is never negative" is similar in spirit to what the lab will ask for.
home—info—lects—labs—exams—hws
textbook—tutor/PIs—java.lang docs—java.util docs
©2009, Ian Barland, Radford University Last modified 2009.Mar.25 (Wed) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |