Question: Test 3(15 points) Java API and its application Write an application to copy the contents from a source file to a target file, regardless of

 Test 3(15 points) Java API and its application Write an application

Test 3(15 points) Java API and its application Write an application to copy the contents from a source file to a target file, regardless of the file's contents. For example, copy a picture pic01.jpg from d: Idatal to kilimages). The application needs to perform the followings: (1) To create a sub-directory named images in the root of disk K (3 points). (2)'To handle exceptions, if necessary. (4 points). (3)'To copy a picture pic01.jpg from d:Idatal to k: \images |(8 points). Suppose there is a file named pic01.jpg in d: Idatal, and the name of the copy is target.jpg. Test 3(15 points) Java API and its application Write an application to copy the contents from a source file to a target file, regardless of the file's contents. For example, copy a picture pic01.jpg from d: Idatal to kilimages). The application needs to perform the followings: (1) To create a sub-directory named images in the root of disk K (3 points). (2)'To handle exceptions, if necessary. (4 points). (3)'To copy a picture pic01.jpg from d:Idatal to k: \images |(8 points). Suppose there is a file named pic01.jpg in d: Idatal, and the name of the copy is target.jpg

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!