public class firstClass { int a; Object o; void myMethod() { if (i == 0) { doSomething(); doSomethingElse(); } else { doThisFinally(); } } }