|
home—info—lects—labs—exams—hws
tutor/PIs—Object120 + its docs—java.lang docs—java.util docs
Today you will continue lab02a—applying the design recipe: books-a-jillion, (though you don't need to work with exaclty the same parter; if you don't just choose one or the other of your solutions to continue working on). If you didn't finish, you can use lab02a-soln-Bookstore.java
int endIndx; endIndx = length(word); int startIndx; startIndx = endIndex-3; return substring(word, startIndx, endIndx); |
Practice, writing a function from the top:
Write
Your solution should include at least three test cases (presumably chosen so that the answer is easy to compute w/o a calculator).
Note: The
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.Sep.30 (Thu) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |