📜  java 将 int 转换为布尔值 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:32.740000             🧑  作者: Mango

代码示例1
boolean result = (myBinaryInt == 1);
boolean result2 = (myNonBinaryInt >= 1);