default = ஏதாவது
The default case of a switch statement. The code in this block is executed if the other cases did not match the variable.
Example
switch (var) { case 1: //do something when var equals 1 break; case 2: //do something when var equals 2 break; default: // if nothing else matches, do the default // default is optional break; }