Question: Oracle Academy Java Programming 3-5: Input and Output Fundamentals Lesson PowerPoint - https://drive.google.com/open?id=0B3GMuhuuq6eATkdmWndaekRaeEU 1. Create a class with a static main that tests the ability

Oracle Academy

Java Programming 3-5: Input and Output Fundamentals

Lesson PowerPoint - https://drive.google.com/open?id=0B3GMuhuuq6eATkdmWndaekRaeEU

1. Create a class with a static main that tests the ability to resolve and print a Path:

Create an instance of a FileSystem class.

Resolve an instance of a Path interface from a directory path and filename.

Print the constructed Path with System.out.println() method.

2. Create a class with a static main that tests the ability to resolve and print a Path:

Create an array of Path class.

Instantiate instances of Path with absolute and relative paths.

Print the constructed elements of the array of Path class with System.out.println() method.

3. Create a class to test serialisation class that implements serializable, it should implement the following:

A static void method that serialises an object.

A static void method that deserializes an object.

A static main method that tests the two by moving an object from one to the other

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!