logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How to get last modified date of a file?


  • Correct Answer
  • long lastModified(); we can give this return value to a date object and we can get data to be displayed 


  • Technology problems


    Search Results


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


    Comments

    There are no comments.

Enter a new Comment