好奇怪的File file=new File();
package file;
public class File {
public static void main(String[] args) {
// TODO Auto-generated method stub
File file=new File();
}
}
为什么不导包不提示错误呢,
而要写File file=new File("e:\\jnm");就出错了呢?
package file;
public class File {
public static void main(String[] args) {
// TODO Auto-generated method stub
File file=new File();
}
}
为什么不导包不提示错误呢,
而要写File file=new File("e:\\jnm");就出错了呢?
2015-05-13
举报