A.File file 1=new File(“c:\\java\\example\\file.txt”)
B.String path=”c:\java\example\”Filefile1=newFile(path,”oldfile.txt”)
C.File dir 1=new File(“c:\\java\\example”)Filefile1=newFile(dir1,”oldfile.txt”)
D.File file 1=new File(“c:\java\\example\file.txt”)