Q:

What are the two acceptable types for the variable i? (Choose Two)

0

What are the two acceptable types for the variable i? (Choose Two)

Given:

switch (i)
{
   default:
   System.out.printIn("Hello");
}

  1. Char
  2. Byte
  3. Float
  4. Double
  5. Object

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Core Java Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the result?... >>
<< Which statement is true for the class java.util.Ha...