Given:
What is the result?
A. The compilation fails.
B. abdf
C. abd
D. adf
E. abcd
Given:
Which loop incurs a compile time error?
A. the loop starting line 11
B. the loop starting line 7
C. the loop starting line 14
D. the loop starting line 3
Given:
Which is true?
A. The compilation fails due to an error in line 6.
B. The compilation succeeds.
C. The compilation fails due to an error in line 4.
D. The compilation fails due to an error in line 10.
E. The compilation fails due to an error in line 7.
F. The compilation fails due to an error in line 9.
G. The compilation fails due to an error in line 2.
Given:
Which two lines cause compilation errors? (Choose two.)
A. line 12
B. line 6
C. line 9
D. line 8
E. line 7
Which describes a characteristic of setting up the Java development environment?
A. Setting up the Java development environment requires that you also install the JRE.
B. The Java development environment is set up for all operating systems by default.
C. You set up the Java development environment for a specific operating system when you install the JDK.
D. Setting up the Java development environment occurs when you install an IDE before the JDK.
Given: What is the result?
A. is it 1
B. An IndexOutOfBoundsException is thrown at runtime.
C. is it 0
D. this is it 2
E. this is it 3
Which two describe reasons to modularize the JDK? (Choose two.)
A. easier to understand the Java language
B. improves security and maintainability
C. easier to expose implementation details
D. improves application robustness
E. easier to build a custom runtime linking application modules and JDK modules
Given: What is the result?
A. null
B. nothing
C. It fails to compile.
D. java.lang.IllegalAccessException is thrown.
E. Student
Given the code fragment:
What is the output?
A. The compilation fails.
B. [-1, -2, -3]
C. [-3, -2, -1]
D. A runtime exception is thrown.
Given:
What is the result?
A. null
B. Joe Bloggs
C. The compilation fails due to an error in line 1.
D. p1