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

查看更多

关注者
0
被浏览
11
  • 体验AI问答!更聪明、超智能!
  • 一款基于GPT的超级AI助手,可以对话、创作、写文案!
1 个回答

撰写答案

请登录后再发布答案,点击登录

发布
问题

手机
浏览

扫码手机浏览

分享
好友

在线
客服