Do2.java

package mypack;
class Do2
{
public static void main(String[] args)
{
packa.Do3 d=new packa.Do3();
d.run();
}
}

Do3.java

package packa;
public class Do3
{
public void run()
{
System.out.println("这个是Do3");
}
}
05-07 15:46