|
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
We will practice today creating arrays (as in lect11b—arrays), and writing methods take in and/or return arrays. You won't submit these programs, but writing them will will help you with writing the code for hw09.
Do not use BlueJ;
instead use a text editor and the command-line programs
Write a method
Update your
We find that the built-in
Write a method
Again, update your
For debugging purposes, write a function
Note that getting the output exactly correct means
handling one case specially, inside the loop.
Again, update your
(More properly, add those tests to
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
©2010, Ian Barland, Radford University Last modified 2010.Nov.16 (Tue) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |