हिंदी

Which of the following keywords can be used to terminate a switch case as well as a loop construct? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following keywords can be used to terminate a switch case as well as a loop construct? 

विकल्प

  • Continue

  • Void

  • Break

  • Stop

MCQ

उत्तर

Break

Explanation:

In Java, the break keyword is used to end both loop constructs and switch situations.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.1: Nested Loop - EXERCISES [पृष्ठ १४४]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.1 Nested Loop
EXERCISES | Q I. 3. | पृष्ठ १४४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×