blob: bd4d476b85ca3cfc50c3434fe87ee4f9b21da6fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.siyeh.igtest.confusing;
public class SwitchStatementWithConfusingDeclaration
{
public static void main(String[] args)
{
switch(3)
{
case 2:
int x = 0;
break;
case 3:
x = 3;
System.out.println(x);
break;
}
}
}
|