When i exit the the loadData method and try to print the array list i just made with the data from the txt. file . The array list has nothing in it when i try to print it out. it leave the load data method and clears the array lidt and i also tell it to return the array list.
here is another class i use to keep up with the word i get from the file to put into the array
I just don't understand why the array list goes blank whn it leaves the loadData method.
i actually caught that and fixed it an a few other things.Thanks for pointing it out i had to read your comment a few times for it to click what you was saying now i have a problem with when i try to print to the con sole all it give me is null back an not the strings i put in.