मराठी

When does Fall through occur in a switch statement? Explain. - Computer Applications

Advertisements
Advertisements

प्रश्न

When does Fall through occur in a switch statement? Explain. 

थोडक्यात उत्तर

उत्तर

  1. In a switch block with various cases, the control has to perform a specified case block based on the switch value.
  2. If no break is applied at the end of the case block, the control moves to the following case block for execution.
  3. 'Fall through' refers to the uncommon execution of several cases for a given switch value. 
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.08: Conditional Statements in Java - EXERCISES [पृष्ठ १००]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.08 Conditional Statements in Java
EXERCISES | Q V. 5. | पृष्ठ १००
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×