Which two modifications, made independently, enable the code to compile and run?

Given: Which two modifications, made independently, enable the code to compile and run?

Given: Which two modifications, made independently, enable the code to compile and run?

A.
Changing the type of the variable day to String

B.
Arranging the case labels in ascending order

C.
Adding a default section within the switch code-block

D.
Adding a break statement after each print statement

E.
Changing the string literals in each case label to integer



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Boldoo

Boldoo

ANSWER: A and E