हिंदी

What is control variable in a switch statement? - Computer Applications

Advertisements
Advertisements

प्रश्न

What is control variable in a switch statement? 

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

उत्तर

In a switch statement, a variable that takes the control to move or jump to a particular case, satisfying the value is called a control variable. 

For example: switch (p)

Here, p is the control variable.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.08: Conditional Statements in Java - Review Insight [पृष्ठ ९७]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.08 Conditional Statements in Java
Review Insight | Q 1. | पृष्ठ ९७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×