View Single Post
  #2 (permalink)  
Old December 9th, 2005, 10:47 AM
Ankur_Verma Ankur_Verma is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma

Well if you would see, the break statement is needed in the default block as well. Thats because its not the
break statement thats needed its the requirement of all the blockes under switch to have a 'jump statement'.
Commomnly you provide the break statement so thats what you see, but it can be any jump statement.

Ankur Verma