You have a public class called myclass with the main method defined as follows
public static void main(String parm[]){
System.out.println(parm[0]);
}
If you attempt to compile the class and run the program as follows
java myclass hello
What will happen?
发布于 2021-02-15 03:24:11
【单选题】 A Compile time error, main is not correctly defined B Run time error, main is not correctly defined C Compilation and output of java D Compilation and output of hello