public class SwitchTest { public void tes(){ int b=1; int a=0; switch(a){ case 0: {a=b;break;} case 1: {a++; break;} default:a++; } } }