public class TestSwitchStmt { public m(a) { switch (a) { case 1: return a++; break; case 2: return a--; break; default: return a; } }