![]() |
![]() |
|
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
Turn in a hard copy, and attach your
Make the function
Be sure to look at the
Follow the usual steps:
(7pts) Then, complete the function body (removing the stub body from step (i)).
heads-up: When you check if two initials are equal: use== if comparingchar s, but useboolean Object120.equals(String,String) if comparingString s. (I suspect usingchar s is a more natural fit for this problem, but there are also reasonable approaches usingString s.)
1See
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
©2012, Ian Barland, Radford University Last modified 2012.Sep.13 (Thu) |
Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |
![]() |