Programming and Problem Solving with Java

(やまだぃちぅ) #1

Case Study Follow-Up


1.Write an application that reads the file of objects and prints the names to the
screen.
2.In Chapter 6, you were asked to rewrite the output sections so that the informa-
tion was formatted like an address. Rewrite the driver used in the Case Study to
read the formatted information, usingindexOfandsubstringto parse the data.
3.Design and implement a Dateclass that could be substituted for class
GregorianCalendarin the Case Study.

373
Free download pdf