普通文件
class HelloWorld
{
public static void main (String[] args){
System.out.print(“Hello Everyone”);
}
}
**
带包编译
**
package p1;
class HelloWorld
{
public static void main (String[] args){
System.out.print(“Hello Everyone”);
}
}
class GoodbyeWorld
{
public static void main (String[] args){
System.out.print(“Goodbye”);
}
}