public void myMethod() { int i = 10; if(i==10) return; System.out.println("This will never be printed"); }