Examlex

Solved

Which of the Following Performs the Same Way as the Switch

question 11

Multiple Choice

Which of the following performs the same way as the switch statement below?
switch (value)
{
case 1: System.out.print ("Small") ;
break;
case 10: System.out. print ("Large") ;
break;
default: System.out. print ("Other") ;
break;
}


Definitions:

Related Questions