Posted by: Gangadhar on: December 17, 2008
The “default” case in a switch case need not be perfect by its spelling. If none of the cases satisfy the condition, the compiler will search for “default” case. If its there, it’ll execute that block. In case you have miss spelled it [may be in hurry! ], the compiler won’t give any error, but [...]