[size=x-large]if(条件){ System.out.println("hello"); }else{ System.out.println("world"); } 同时打印出hello world[/size]