Programming - Control Statements - Discussion

You Are Here :: Home > JAVA > Control Statements - Discussion

 



Q.

The keyword ___________ is followed by an expression that should evaluates to byte, short, char or int primitive data types ,only. In a switch block there can be one or more labeled cases.                         


A. while B. switch
C. do-while D. break

Answer: Option B
Explaination:

 


The keyword "switch" is followed by an expression that should evaluates to byte, short, char or int primitive data types ,only. In a switch block there can be one or more labeled cases.




Discussion

Your Comments Goes here...
NameDiscussion