switch(x) { default: System.out.println('Hello'); }Which two are acceptable types for x?1. byte2. long3. char4. float5. Short6. Long - Study24x7
Social learning Network
23 Feb 2023 04:31 PM study24x7 study24x7


switch(x) { default: System.out.println("Hello"); }
Which two are acceptable types for x?

1. byte2. long3. char4. float5. Short6. Long

A

1 and 3

B

2 and 4

C

3 and 5

D

4 and 6

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles