Question 16
Given: What is the result?
- 300
- 100
- 200
- A compilation error occurs.
Question 17
Given the code fragment: What is the result?
- A compilation error occurs.
- A runtime exception is thrown.
- Julia - Peter
- Peter - Julia
Question 18
Given the code fragment: Which code fragment can be inserted at line n1 to enable the code to compile?
- new int num[];
- int[] num;
- int[10] num;
- int num[10];
Question 19
Given the code fragment: What is the result?
- 9 12
- 10 10
- 9 9
- 10 14
Question 20
Given the code fragment: What is the result?
- Unknown issues. Invalid divisor.
- Unknown issues.
- Invalid divisor.
- A compilation error occurs.