我有这种代码
if(a == 3) { if(b == 4) { // do somthing } else { // do an other thing } } else { // do the same other thing }
我想知道,当我在第一个时else,我怎么能去第二个,else因为它将执行相同的代码
else
谢谢
java conditional if-statement
conditional ×1
if-statement ×1
java ×1