Question 21 of 76 from exam 1Z0-808: Java SE 8 Programmer I
Question
Given the code fragment:
![public static void main(string[] args)
boolean opt = true;
switch (opt) (
case true:
system. out. print ("True");
break
default:
system. out. print ("**#") ;
)
System. out.printIn ("Done");
{](https://eaeastus2.blob.core.windows.net/optimizedimages/static/images/Java-SE-8-Programmer/question/img0002400001.png)
Which modification enables the code fragment to print TrueDone?
Answers
Explanations
Click on the arrows to vote for the correct answer
A. B. C. D.A.