Consider the following java program. What is method used on lable X?

import java.io.File;
public class CreateDir {

   public static void main(String args[]) {
      String dirname = "/tmp/user/java/bin";
      File d = new File(dirname);
      d.mkdirs(); ------------X
   }
}

1
Create directory
2
Listing Directories
3
creates both a directory and all the parents of the directory.
4
None of the above
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation