• Post Reply Bookmark Topic Watch Topic
  • New Topic

delete a hidden file  RSS feed

 
Rakitha Wickramathunga
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to delete a hidden file, using java
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Since this question is not about the SCJP exam, I will move it to a more appropriate forum. See the link above (big letters) to go to the other forum.

You can delete a hidden file just like any other non-hidden file, using the delete() method in class java.io.File.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!