Oracle Java SE 8 Programmer I 1z0-808 Question # 18 Topic 2 Discussion

Oracle Java SE 8 Programmer I 1z0-808 Question # 18 Topic 2 Discussion

1z0-808 Exam Topic 2 Question 18 Discussion:
Question #: 18
Topic #: 2

Given the code fragment:

1z0-808 Question 18

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.


Get Premium 1z0-808 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.