Learning about using files in java
Before you complete all these assignment,
your file structure will look similar
to the image below.
After you complete all these assignment,
See the image below and see how
it is different from the image above.
Discussion during class about this assignment.
-What is the default location for file being
accessed by a java program?
-How would I write / read a file up one file level?
-How would I write / read a file down one level
where the packages are?
Create file using java
Click here to see the source code.
Your files to turn in:
PX_CreateEmpty_lastname.png (Screen Print of the java program)
PX_CreateEmpty_lastname.java (Actual Java program)
PX_CreateEmpty_lastname.mp4 (Video of program running)
Drop off your files into google classroom.
Write array data to file using java
Click here to see the source code.
Your files to turn in:
PX_WriteQuote_lastname.png (Screen Print of the java program)
PX_WriteQuote_lastname.java (Actual Java program)
PX_WriteQuote_lastname.mp4 (Video of program running)
Drop off your files into google classroom.
Read data from file
Click here to see the source code.
Your files to turn in:
PX_ReadFileScanner_lastname.png (Screen Print of the java program)
PX_ReadFileScanner_lastname.java (Actual Java program)
PX_ReadFileScanner_lastname.mp4 (Video of program running)
Drop off your files into google classroom.