Computer Applications

Which clause is optional in the switch statement?

  1. default
  2. case
  3. switch
  4. None of these

Java Conditional Stmts

10 Likes

Answer

default

Reason — default clause is optional in the switch case.

Answered By

5 Likes


Related Questions