logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to create Directory on the HD?


  • Correct Answer
  • To create directory on the HD we use mkDir() method: boolean mkDir(); This method returns true if the directory is created on HD This method returns false if the directory is already existing on HD 


  • Technology problems


    Search Results


    • 1. How to create a file on the hard disk by using File class object?
    • Discuss
    • 2. Why interface data is public?
    • Discuss
    • 3. Why interface data is final?
    • Discuss
    • 4. Why interface data is static?
    • Discuss
    • 5. What is abstract method?
    • Discuss
    • 6. How to check that the file object is pointing a file on HD?
    • Discuss
    • 7. How to check that whether the file object is pointing a folder or not?
    • Discuss
    • 8. How to get last modified date of a file?
    • Discuss
    • 9. How to get contents of the folder?
    • Discuss
    • 10. What is Thread?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment