结果肯定是不可以的!因为JVM在运行此代码时,会找不到入口函数!
public class Test {
static void main(String[] args) {
System.out.println("hehe");
}
}
运行结果:
结果肯定是不可以的!因为JVM在运行此代码时,会找不到入口函数!
public class Test {
static void main(String[] args) {
System.out.println("hehe");
}
}
运行结果: