Advertisements
Advertisements
प्रश्न
Which statement in switch case is used to exit the statement once the appropriate choice is found?
पर्याय
Exit
Default
Case
Break
MCQ
उत्तर
Break
shaalaa.com
Introduction of Conditional Statements in Java
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
Which conditional statement is used to transfer control from current statement to another statement?
The _______ statement is especially useful when testing all the possible results of an expression.
<script type=“text/javascript”>
x = 6 + “3”;
document.write(x);
</script>
what will be the output?
What are the different types of control statement used in JavaScript?
List out the various branching statements in JavaScript?
Differentiate the break and continue statement.
Write the syntax for else-if statement.
Explain switch case statement with example.
Which of the following data type cannot be used with switch case construct?
Rewrite the following code using single if statement.
if(code=='g')
System.out.println("GREEN");
else if(code=='G')
System.out.println("GREEN");