[OCAJP] 二维数组
Which option represents the state of the num array after successful completion of the outer loop? A. num[0][0]=10 num[0][1]=10 num[0][2]=10 B. num[0][0]=10 num[1][0]=10 num[2][0]=10 C. num[0][0]=10 n...
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
分类
科学与科技类文章的总分类,包含编程与算法、操作系统、网络与服务器、网站与软硬件的介绍,以及数学逻辑、天文物理和生物化学的科普文章。
共 1507 篇文章
Which option represents the state of the num array after successful completion of the outer loop? A. num[0][0]=10 num[0][1]=10 num[0][2]=10 B. num[0][0]=10 num[1][0]=10 num[2][0]=10 C. num[0][0]=10 n...
Which of the following is equivalent to the above code fragment? A. System.out.printLn(x>10?">":"<":"="); B. System.out.println(x>10? ">"?"<":"="); C. System.out.println(x>10?">":x<10?"<":"="); D. Sy...
What is result? A. Successful B. Unsuccessful C. Compilation fails D. An exception is thrown at runtime
What should keyword1 and keyword2 be respectively, in oreder to produce output 2345? A. continue, break B. break, break C. break, continue D. continue, continue
What is the result? A. Java Java Java B. Java Jeve va C. Java Jeve ve D. Compilation fails
Which two items can legally be contained within a java class declaration? A. An import statement B. A field declaration C. A package declaration D. A method declaration
What is the result? A. 10 : 10 B. 5 : 5 C. 5 : 10 D. Compilation fails
What is the result? A. The sum is 2 B. The sum is 14 C. The sum is 15 D. The loop executes infinite times E. Compilation fails
Which code fragment can be inserted at line "//insert code here" to enable the code to compile?
What is the result? A. 3 4 5 6 B. 3 4 3 6 C. 5 4 5 6 D. 3 6 4 6