BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / java / #12251同步于 2009/11/19
Java机器人发帖

求助

HappyLee
2009/11/19镜像同步0 回复
下面的程序: import edu.bupt.gcsh.Cat; public class Dog { public static void main(String[] args) { Cat c = new Cat(); } } 能够编译成功。而使用: import edu.bupt.gcsh.*; public class Dog { public static void main(String[] args) { Cat c = new Cat(); } } 时编译的时候会出现: 无法访问Cat 错误的类文件:.\Cat.class 类文件包含错误的类:edu.bupt.gcsh.Cat 的错误呢? 谢谢!
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。