MCQ Answer

What happens if no case in a switch statement matches the condition

What happens if no case in a switch statement matches the condition

यदि स्विच स्टेटमेंट में कोई भी मामला स्थिति से मेल नहीं खाता तो क्या होता है
Topic : JS Introduction

A. The program throws an error The program throws an error

B. The default case is executed (if defined डिफ़ॉल्ट केस निष्पादित किया जाता है (यदि परिभाषित किया गया है)

C. Contrast अंतर

D. None of the above इनमे से कोई भी नहीं




Correct Answer is :

B. The default case is executed (if defined



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad