That package indeed does not exist on Java 6. Where did you find this; are you looking at API documentation for JDK 7, which is not yet released?
You can look at the API documentation for JDK 6 online here: http://java.sun.com/javase/6/docs/api/
if its not yet released yet, i wonder why have they given in the beginners tutorial.
can any one suggest another source for studying i\o and file handling.
Sun wrote:This section is being updated to reflect features and conventions of the upcoming release, JDK7. You can download the current JDK7 Snapshot from java.net. We've published this preliminary version so you can get the most current information now, and so you can tell us about errors, omissions, or improvements we can make to this tutorial.
And there's a link on the same page regarding mapping to JDK7 from earlier releases: