QuestionQ205
Using Operators and Decision ConstructsGiven the following code fragment:

Which change allows 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.
Community Discussion