Tuesday, July 19, 2011

Jave program: sorting?

I would probably use a linked list of a custom object type. Say you have productRecord.java. Make that class hold the details you want and create a linked list of it. Then read into that class your data. Lastly, write methods to compute and output your file. Simple.

No comments:

Post a Comment