This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We're pleased to have you here with us , but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policyand adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
To know about any of the Java classes Sun's api docs is good place to start with. You can visit this file api doc link for more details. [ April 04, 2008: Message edited by: Anubhav Anand ]
That's one use of File, a simple one. In general, java.io.File represents a path on a file system. It includes methods to check if there's a real file corresponding to the path, to delete the file at that path, and to query various properties of a file at that path (like whether it's a directory or not.)