logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to get contents of the folder?


  • Correct Answer
  • File[] listFiles(); this method returns list of files stored in a directory 


  • Technology problems


    Search Results


    • 1. How to get last modified date of a file?
    • Discuss
    • 2. How to check that whether the file object is pointing a folder or not?
    • Discuss
    • 3. How to check that the file object is pointing a file on HD?
    • Discuss
    • 4. How to create Directory on the HD?
    • Discuss
    • 5. How to create a file on the hard disk by using File class object?
    • Discuss
    • 6. What is Thread?
    • Discuss
    • 7. What is MultiTasking?
    • Discuss
    • 8. What is MultiThreading?
    • Discuss
    • 9. How to do MultiThreading in Java?
    • Discuss
    • 10. Why synchronization?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment