题目内容
(请给出正确答案)
[单选题]
Java应用程序的main方法中有以下语句,则输出的结果是 int[] x={2,3,-8,7,9}; int max=x[0]; for(int i=1;i<x.length;i++){ if(x[i]>max) max=x[i]; } System.out.println(max);
A.2
B.-8
C.7
D.9
提问人:网友肖和成
发布时间:2022-01-07
A.2
B.-8
C.7
D.9
A. 变量由字母、下划线、数字、$符号随意组成
B. 变量不能以数字作为开头
C. A和a在java中是同一个变量
D. 不同类型的变量,可以起相同的名字
B.7
C.8
D.6
B.5
C.98
D.168
A、int a[][]=new int[5][5];
B、int [][]b=new int[5][5];
C、int []c[]=new int[5][5];
D、int [][]d=new int[5,5];
A、good and abc
B、good and gbc
C、test ok and abc
D、test ok and gbc
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!