English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Write Short notes on Switch statement. - Computer Applications

Advertisements
Advertisements

Question

Write Short notes on Switch statement.

Answer in Brief

Solution

  1. The switch statement is used to perform different actions based on different conditions.
  2. It tests for equality only.
  3. It uses default value when all the case values are not matched.
  4. It can have multiple ease values.
shaalaa.com
If elseif else Statement in PHP
  Is there an error in this question or solution?
Chapter 6: PHP Conditional Statements - Evaluation - PART – III [Page 111]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 6 PHP Conditional Statements
Evaluation - PART – III | Q 4. | Page 111
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×