package first;
import java.io.File;
import java.io.IOException;
public class Mgr
{
public static void main(String[] args)}
{
File file1 = new File("hello.html");}
try
{
System.out.println(file1.createNewFile());}
catch (IOException e)
{
e.printStackTrace();}
Hi,
has i am very new to the topic FILE-HANDLING
when i run the above program for the 1st time i got output true..........,but when i run the program for the second time i got the output false
i know y i got false for the 2nd time................................!!!!!!!!!!!!
my doubt is that "where the newly created file is stored."
Thanks & regards
Daya

