条件套条件——先过大前提,再查细条件。
if(布尔1){ if(布尔2){ } }
if (x==30) { if (y==10) { System.out.print("X = 30 and Y = 10"); } }