Question 21 of 76 from exam 1Z0-808: Java SE 8 Programmer I

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");

{

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.