public class tabular {
public static void main(String[] args)
{
for (int row = 0; row < 4; row++)
{
for (int col = 0; col < 4; col++)
{
System.out.print(row + "" + col + "\t" );
}
System.out.println("\n");
}
}
}
This is my code and my task is modify this program and print this into a file. What does it means to turn this program to file? what i learned before was open file from file reader or use printwriter to make a file.