[OCAJP] 循环控制
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
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
标签
1z0-808 是取得 Oracle Certified Associate Java SE 8 Programmer 认证的考试代号。
共 229 篇文章
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
Which code fragment, when inserted at line 3, enables the code to print 10:20? A. int[] array = new int[2]; B. int[] array; array = int[2]; C. int array = new int[2]; D. int array [2] ;
What is the result? A. hEllO jAvA! B. Hello java! C. Out of limits hEllO jAvA! D. Out of limits