This along with many of the other questions on this forum is from a noob at both the forum and java and was hoping someone could please help me.
What im trying to do is read some info from a file and then store it in a linked list, which i then can recall the information for each section when tested.
Its kinda hard describing the situation but what i have is a file
-from file that i read from
1 Mick <- Ref and Name (int, string)
0444767521 mobile number <- Info (int, string)
123 helshow road <- Info (int, string)
0426566654 mobile number
555-8977 house number
45 newmart road
So what i have to do is have a linked list that stores the Name eg.Mick and his ref number eg.1 and then store all his info. Then point to next person who is 2 Angela and then store all her info.
Now what i have done so far is seperated everything up and can store all the names and refs in a linked list and then was going to store all the info in a seperate linked list for each (Name and refs) that is in the list.
I hope this doesnt sound to confusing but im completely stuck on what to do or how to be able to implement anything to achieve the desired result.
Any help or guideance would be greatly appreciated.
Thanks in advance,