摘要:
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\ 阅读全文