📅  最后修改于: 2022-03-11 14:56:21.238000             🧑  作者: Mango
public void method3( int i){
if (i == 10)
System.out.println("i is 10");
else if (i == 15)
System.out.println("i is 15");
else if (i == 20)
System.out.println("i is 20");
else
System.out.println("i is not present");
}