so how do i save to the file? cause the current code already askes the user for age and prints it out?
Type: Posts; User: ATB
so how do i save to the file? cause the current code already askes the user for age and prints it out?
I have attempted a new code and got a little further.
I do still have to figure out how to save to the created file.
package assignment7;
import java.io.*;
import java.util.*;
public...
1. creates a file.
2. ask user to write into that file
3. save the file
4. print content of file.
is my current exercise
so far i have gotten the code to create a file
what should i use to...