Answers for "java switch case default case"

0

syntax of the switch statement in Java

switch (expression) {

  case value1:
    // code
    break;
  
  case value2:
    // code
    break;
  
  ...
  ...
  
  default:
    // default statements
  }
Posted by: Guest on March-14-2022

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language