Question: Programming with Java Assignment #2 Use the file class to complete the following tasks: Create (using Java code) the following tree of folders and files.

Programming with Java Assignment #2 Use the file class to complete the following tasks: Create (using Java code) the following tree of folders and files. (Let the folder "BAU" to be created in the Desktop). BAU Center Others Test.txt A1.docx Ask the user to enter a file name. Create a text file with the same name entered by the user inside the "Center" folder. (For example, if the user enters the word "IT your code should create the file "IT.txt" inside the "Center" folder). Write a code that counts how many files exist in the "Center" folder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
