Question: - Java Assignment (Answer in details) *How can you check if a file is hidden? Ans: We can use the method isHidden() of java.io.File class
- Java Assignment (Answer in details) *How can you check if a file is hidden? Ans: We can use the method isHidden() of java.io.File class that returns true if the file is hidden. File myFile = new File("D:\file1.txt"); > What exception does the above statement create? Why does this exception occur? occur?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
