switch en java

Java
switch (/*Variable*/)
{
  case /*Variable*/:
    /*Action*/;
    break;        
  default:
    /*Action*/;             
}
Source

Also in Java: