摘要: package com.bjsxt.java140;class Cat {}package com.bjsxt.java139;import com.bjsxt.java140.*;public class Dog { public static void main(String[] args) { Cat c = new Cat(); }}cat.class在 java\testpackage\com\bjsxt\java140dog.class在java\testpackage\如果dog.class在java路径下,则需要添加classpath=\java\testpackage\ 阅读全文
posted @ 2013-03-31 19:46 glt66 阅读(120) 评论(0) 推荐(0) 编辑