|
|
|
|
1
|
-# Read and Write Document
|
|
|
|
|
1
|
+# Read and Write Document.
|
2
|
* **Objective** - To implement a `Document` object which uses a composite `File` and `FileWriter` to `read` and `write` to a
|
2
|
* **Objective** - To implement a `Document` object which uses a composite `File` and `FileWriter` to `read` and `write` to a
|
3
|
* **Purpose** - To demonstrate use of exception handling
|
3
|
* **Purpose** - To demonstrate use of exception handling
|
4
|
|
4
|
|
|
|
|
|
7
|
## Instructions
|
7
|
## Instructions
|
8
|
* Research `FileWriter` to ensure you know [how to](https://www.journaldev.com/20891/java-filewriter-example) `read`, `write`, and `flush` data.
|
8
|
* Research `FileWriter` to ensure you know [how to](https://www.journaldev.com/20891/java-filewriter-example) `read`, `write`, and `flush` data.
|
9
|
* It is advised that you begin by implementing `read` and `write` for the `Document`.
|
9
|
* It is advised that you begin by implementing `read` and `write` for the `Document`.
|
10
|
-* Ensure each of the test classes passes with 100% pass rate.
|
|
|
|
|
10
|
+* Ensure each of the test classes passes with 100% pass rate.
|