Hi all im new here and pretty new to
java to. I am just working through examples and trying things out for my self.
What i wanted to do was read a text file that has records in them seperated by a newline and pass them into an ArrayList.
So far i have created an Accounts class that looks like this
After that i have created a class called ReadFile that looks like this
so what i wanted to know is how can i pass what i have read from the txt file into an ArrayList as Objects?? can any one help me?
My understanding is that i would create an arraylist like
???