boolean 

69758
单词释义
adj.布尔逻辑体系的(分别以1和0代指是和非)
n.〔数〕布尔
词根词缀记忆/谐音联想记忆 补充/纠错
联想记忆
不灵… * → boolean 布尔
单词例句
The variable "isDone" is of boolean type, so it can only hold the values true or false.
变量"isDone"是布尔类型,所以它只能存储true或false值。
If condition == 0, then result will be set to true; otherwise, it'll be false.
如果condition等于0,则将result设置为true;否则设置为false。
The function "isValidInput" returns a boolean indicating whether the input data is correct.
函数"isValidInput"返回一个布尔值,表示输入数据是否正确。
We need a boolean flag to keep track of whether the user has accepted the terms and conditions.
我们需要一个布尔标志来跟踪用户是否接受条款和条件。
The program checks if the file exists and sets "fileFound" accordingly - true if found, false if not.
程序检查文件是否存在,并根据结果设置"fileFound" - 如果找到则设为true,未找到则设为false。
The method "isEmpty()" returns a boolean value that represents whether the list is empty or not.
"isEmpty()"方法返回一个布尔值,表示列表是否为空。
In this algorithm, we use a boolean variable "found" to determine if the target element was found in the array.
在这个算法中,我们使用布尔变量"found"来判断目标元素是否在数组中被找到。
Set "allowAccess" to true if the user's credentials pass the authentication check.
如果用户的凭据通过身份验证检查,则将"allowAccess"设置为true。
The conditional statement evaluates to true if the number is odd, and false if it's even.
条件语句如果数字为奇数则评估为true,如果为偶数则评估为false。
The switch statement uses boolean expressions to determine which block of code to execute.
切换语句使用布尔表达式来确定执行哪块代码。
未经许可,严禁转发。QQ交流群:688169419
0
近30天助记贡献排行榜
网友新增怎么记信息
最新查询次数奖励榜
0