Question 9
Consider the following Java code.
Identify the lines which have errors.
Line 7 and Line 11
Line 4 and Line 5
Line 15 and Line 20
Line 1 and Line 2
Consider the following Java code.
Identify the lines which have errors.
Line 7 and Line 11
Line 4 and Line 5
Line 15 and Line 20
Line 1 and Line 2
Correct answer
Line 15 and Line 20
Question 9 of 15 in the IIT Madras BS Programming Concepts using Java (Java) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Programming Concepts Using Java 15 Mar 26). It carries 7 marks.