Here is the final working code:
public static void saveToFile()
throws FileNotFoundException
{
PrintWriter outFile = new PrintWriter("theaterMovieData.txt");
...
Type: Posts; User: kcarls22
Here is the final working code:
public static void saveToFile()
throws FileNotFoundException
{
PrintWriter outFile = new PrintWriter("theaterMovieData.txt");
...
Ok, I now have:
public static void saveToFile()
throws FileNotFoundException
{
PrintWriter outFile = new PrintWriter("theaterMovieData.txt");
for(int i =...
Thanks for responding :) Yes, that's the part the teacher added, but do I remove the the movieList array from the existing for loop and give it it's own loop? Where do I move the print command?
Hi,
I need to write from an array to an outfile. The code is below. My teacher says I need an additional loop somewhere, but I'm not sure where. Anything will help. Thanks!
public static...