java.lang.ObjectTextIO_Miniquiz
public class TextIO_Miniquiz
Selecting a filename from a "save" dialog using class JFileChooser and writing to an output file using classes File and PrintWriter.
Constructor Summary | |
---|---|
TextIO_Miniquiz()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Writes name, age and phone number data to the file. |
Methods inherited from class |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextIO_Miniquiz()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- the String[] array command line parameter
java.io.IOException
- if some sort of I/O exception has occurred