Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Switch statements should have a default label. Example :
<pre>
public class Foo {
 public void bar() {
  int x = 2;
  switch (x) {
   case 2: int j = 8;
  }
 }
}
</pre>
New to GrepCode? Check out our FAQ X