问题
单项选择题
下面创建一个新文件对象方法错误的是( )。
A.File myFile; myFile=new File("mulu/file");
B.File myFile=new file( );
C.myFile=new File("/mulu","filel");
D.File myDir=new file("/mulu"); myFile=new File(Dir"filel");
答案
参考答案:B