हिंदी

An if-else construct accomplishes 'fall through'. - Computer Applications

Advertisements
Advertisements

प्रश्न

An if-else construct accomplishes 'fall through'. 

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

This statement is False.

Explanation:

  1. In programming, "fall through" refers to the behaviour of switch-case statements in which execution continues to follow cases if no break statement is present.
  2. In contrast, an if-else design prevents fall-through. Only one block (either the if or the else) is run according to the situation, and there is no automatic continuation between them.
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 II. 3. | पृष्ठ ९९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×