All things are lawful, but not all things are profitable.
No. Get the code out of the main method and into a testing method straight off. I always worry when people say they are planning to do something: will they ever actually do it?Jeff Sak wrote:. . . I do plan on having the main class being as empty as possible, I just have the code written in there right now for testing.
You haven't shown us Phone, and I have already told you that Address is not at all right.I also have separate classes address and phones, so I am hoping those will be okay.
That may be because you are trying to do too many things all at once. Get a method which reads all the lines from the file and simply prints them out. Make sure it closes all resources. Once you have got that working, you will know you can read from the file. Then you can enhance it to add everything to your List. Then you can consider the nest part. Then you can...My main problem currently is simply getting the file to read . . . I'm not really sure how to write a function that sends contents from a file in one method and then writes it to a different method. . . .