Which of the following statements are TRUE about File class? |
Choice 1 | File(String) constructor creates a new File instance by converting the given pathname string into an abstract pathname. If the given string is the empty string, then the result is the empty abstract pathname. |
Choice 2 | File(String) constructor creates a new File instance by converting the given pathname string into an abstract pathname. If the given string is the empty string, then it will throw FileNotFoundException. |
Choice 3 | File(String) constructor creates a new File instance by converting the given pathname string into an abstract pathname. If the given string is the empty string, then it will throw IOException. |
Choice 4 | File class is used to create directories. |