Given the code fragment:
Which modification enables the code fragment to print TrueDone?
A.
Replace line 5 With String opt = “true”;
Replace line 7 with case “true”:
B.
Replace line 5 with boolean opt = l;
Replace line 7 with case 1=
C.
At line 9, remove the break statement.
D.
Remove the default section.
Answer: A