Given the code fragment:
Which code fragment, when inserted at line 3, enables the code to print 10:20?
Option A
Option B
Option C
Option D
Given the code fragments:
What is the result?
Compilation fails only at line n2.
RTool::exportTool::export
Tool::exportTool:export
Compilation fails only at line n1.
Compilation fails at both line n1 and line n2.
Which modification enables the code to print 54321?
Replace line 6 with System.out.print (--x);
At line 7, insert x --;
Replace line 5 with while (is Available(--x)) {
Replace line 12 with return (x > 0) ? false : true;