给定某Java程序的main方法,如下:

publicstaticvoidmain(String[]args){ System.out.print(“Hello”+args[1]) } 从命令行传参:peopleworldnation,该程序的运行结果是()。 A.Hellopeople B.Helloworld C.Hellopeopleworldnation D.运行时出现异常

时间:2023-08-01 04:42:43

相似题目