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 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
Get step-by-step solutions from verified subject matter experts
