Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

restrictions on the values of each case of a switch

Fri Nov 07, 2008 12:18 am

What restrictions are placed on the values of each case of a switch statement? :grin:



Re: restrictions on the values of each case of a switch

Fri Nov 07, 2008 12:19 am

During compilation, the values of each case of a switch statement must evaluate to a value that can be promoted to an int value.
111. What modifiers may be used with an interface declaration?
An interface may be declared as public or abstract.

Post a reply
  Related Posts  to : restrictions on the values of each case of a switch
 lesson4:XSD Restrictions     -  
 Use the 'default' case     -  
 Convert To Upper Case in C++     -  
 Change String to Upper case     -  
 convert string to lower case     -  
 Switch vs Hub     -  
 php switch     -  
 Change letters to upper case by default     -  
 JavaScript switch example     -  
 java switch example     -