I think I understand your question...consider the following
String line = "m 25 68";
String[] pieces = line.split(" ");
///pieces is an array, pieces [0] is "m", pieces [1] is "25", etc...
...
Type: Posts; User: copeg
I think I understand your question...consider the following
String line = "m 25 68";
String[] pieces = line.split(" ");
///pieces is an array, pieces [0] is "m", pieces [1] is "25", etc...
...
Really? I honestly didn't know what the question was, and was addressing your "create man obj" notes in the source code you posted - seems to me your code reads the file just fine, unless there are...
Please use the code tags (see my signature for instructions) - I've edited your post to use them.
I'd suggest you read the following 2 links:
1) Lesson: Classes and Objects (The Java™ Tutorials...