java菜菜求帮助~
package p1;public class Text1{
public static void main(String [] args){
System.out.println("Hello World!");
}
}
package p2.p3;
import p1.*;
public class Text2{
public static void main(String[] args){
Text1 jay=new Text1();//怎么在新定义的jay中输出Text1内容呀..
}
}