assign sth to null
The programmer assigned the variable to null.
程序员将变量赋值为空。
零假设;原假设;空字符;无效之物;无意义之物;珠形饰;不存在或空的值或值集
An empty or non-existent value; nothing; in computing, the absence of a value.
计算机和数据库中常指空值;一般可理解为“没/无/零”。
不存在或空的值或值集
A non-existent or empty value or set of values.
零数量的表达式;无
Zero quantity of expressions; nothing.
无效或无意义的事物
Something that has no force or meaning.
空字符;ASCII或Unicode字符(␀),值为零,表示无字符,有时用作字符串终止符
The null character; the ASCII or Unicode character (␀), represented by a zero value, which indicates no character and is sometimes used as a string terminator.
实体没有有效值的属性
The attribute of an entity that has no valid value.
空花工艺中的珠子之一
One of the beads in nulled work.
零假设
The null hypothesis.
The database query returned a null for the missing field.
数据库查询对缺失的字段返回了一个空值。
用法提示:此处'null'作为名词,表示空值或无效值。
He initialized the pointer as null to indicate it points to nothing.
他将指针初始化为空,以表示它不指向任何对象。
用法提示:'null'作为名词,在编程中表示空指针的值。
After the deletion operation, the array contained several nulls.
删除操作后,数组包含多个空值。
用法提示:'nulls'是'null'的复数形式,作为名词表示多个空值。
The programmer assigned the variable to null.
程序员将变量赋值为空。
The function returns null if the input is invalid.
如果输入无效,函数返回空。
Always check for null before using a pointer.
在使用指针之前始终检查是否为空。
nothing 是最通用的表达,可直接作名词或不定代词;null 更正式,多用于技术、逻辑或学术语境,指“无值”而非一般的“没有”。
nil 多用于比分、报表等表示“零”,语气正式;在编程等场景中一般不用 nil 代替 null。
zero 强调具体数值“0”,是量化概念;null 强调值不存在或为空,不是数值上的0。
nought 是英式拼写,主要用于数字读写;美式英语更常说 zero。
zilch 是口语词,表示“完全没有”,不用于正式书面或技术文档。
grammar · medium
易错句子She nulls the previous decision.
正确表达She nullifies the previous decision.
英语中'null'作为名词,表示'零'或'无效',但作为动词时通常使用'nullify';中文学习者可能直接使用'null'作动词,这是不标准的。
grammar · medium
易错句子The file is null.
正确表达The file is empty.
中文'空'对应英文形容词'empty',而'null'一般作为名词使用,表示'无效值';在描述文件无内容时应使用'empty'。
针对“无;nothing”义项:all 指全部或整体,与 null 的“没有”相对,日常和非技术语境中常用。
针对“空;无”义项:something 表示存在或具有内容,与“空无”相对;但在数据空值语境中不直接使用。
针对计算机中的“空值”义项:value 指实际赋予的数据值,与 null 相对;不用于“无意义”这一义项。
针对“无任何效力或意义”义项:meaning 指意义或重要性,与 null 相对;不表示空值。
空值
If the field contains a null value, the program skips it.
如果字段包含空值,程序会跳过它。
空字符
C strings end with a null character.
C 语言字符串以空字符结尾。
空指针
Check for a null pointer before you use it.
使用前先检查空指针。
空值检查
Always do a null check before accessing the object.
在访问该对象之前,务必进行空值检查。
返回空值
The function returns null if no match is found.
如果找不到匹配项,该函数返回空值。
编程中,null 和 undefined 常一起表示“没有值”,但 null 通常表示显式赋空,undefined 表示变量未初始化。
void 表示“无类型”或“空”,与 null 在系统底层常关联,例如空指针的概念。
null 有时用作哨兵值,标记“无数据”或“结束”,用于控制循环或数据遍历。
null 可充当占位符,在数据结构中预留位置但不提供实际内容。
null 字符(NUL)常作为字符串或数据的终止符,表示结束。
Dictionary facts from ECDICT, WIKTIONARY, WORDNET.