blob: 7f175281b5978c48b8efb67fcc938f969738b142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.siyeh.igtest.controlflow.switch_statement_with_confusing_declaration;
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;
}
}
}
|