Java中boolean类型数据只有true和false,不可以用1和0来代表假和真。 在c语言是可以的。
boolean pass=true
if(pass)
System.out.println();
else