|
|
||
| You are here: | ||
|
Now we have created a Member data object, we need to be able to create an instance to store.
The Member data member.
See what I mean, this is bad code - you can do better. We use a StringTokenizer to split a String into fields. But suppose the Member's name is Mary Jo O Sullivan? It ain't going to work.
Very lazy way to deal with problems! Need to get the Member into another Class These should be added
|
Getting hold of Member data and creating the instance Uses the IBIO classes to work from the console - ugly and dirty! /** Related: [ Java home | Files home | Previous: Members | Next: The RAF ] |
Random Access Files Example First, getting the data from the console |
|
|
|||
|
Questions or problems related to this web site should be addressed to Richard Jones who asserts his right to be identified as the author and owner of these materials - unless otherwise indicated. Please feel free to use the material presented here and to create links to it for non-commercial purposes; an acknowledgement of the source is required by the Creative Commons licence. Use of materials from this site is conditional upon your having read the additional terms of use on the about page and the Creative Commons Licence. View privacy policy. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. © 2001 - 2009 Richard Jones, PO BOX 246, Cambridge, New Zealand; This page was last modified: May 31, 2009 |