Menu
Question Index
...

Identify the incorrect statement in the following.


if is two way statement where as switch is multiway statement.
the expression passed to switch should be of type byte, short, int or char.
Every case in switch should contain break.
default can or can not be present in a switch statement.

Doubts

Problems

Topic: switch Statement In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App