public class firstClass { int a; Object o; void myMethod() { if (a < 2) { doSomething(); doSomethingElse(); } else { doThisFinally(); } } }