हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा ११

Write the general syntax for switch statement.

Advertisements
Advertisements

प्रश्न

Write the general syntax for switch statement.

संक्षेप में उत्तर
Advertisements

उत्तर

The syntax of a switch statement: switch (expression)

switch(expression)
{
  case label1:
    statements1;
    break;
case label2:
    statements2;
    break;
case labeln;
    statements - N;
    break;
default:
    statements;
}
shaalaa.com
Introduction of Conditional Statements in Java
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 15: Control Structure in Javascript - Evaluation [पृष्ठ ३२९]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 11 TN Board
अध्याय 15 Control Structure in Javascript
Evaluation | Q 4. | पृष्ठ ३२९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×