FileHandling
When I create file object I pass the pathname to constructor,but I have few confusions say
File fileObj = new File("temp.txt");
where will this file be placed if I dont do it as follows
File fileObj = new File("C:\temp.txt");
also if I use
File fileObj = new File("\temp.txt");where this file should be placed.
[348 byte] By [
JK_JAVAa] at [2007-11-26 14:04:55]

> When I create file object I pass the pathname to
> constructor,but I have few confusions say
> File fileObj = new File("temp.txt");
In the directory where the application was started.
> File fileObj = new File("\temp.txt");where this file
> should be placed.
In the root of the of drive where the applications was started.
Kaj