You have a public class called myclass with the main method defined as followspublic static void main(String parm[]){ System.out.println(parm[0]);}If you attempt to compile the class and run the program as followsjava myclass helloWhat will happen?
A、Compile time error, main is not correctly defined;
B、Run time error, main is not correctly defined;
C、Compilation and output ofjava;
D、Compilation and output of hello
发布时间:2025-07-01 13:48:15