Site hosted by Angelfire.com: Build your free website today!
 

Switch/case

switch (char, byte, short or int type variable) {
      case constantvalue1:
        // block to execute
        break;
      case constantvalue2:
        //block to execute
        break;
      default:
        //block to execute
}