好词典

null

UK /nʌl/US /nʌl/

词源

源自拉丁语 'nullus'(意为'无'),14世纪通过古法语 'nul' 进入英语。

adjective

❶ 表示无效、不存在或无价值的状态,常用于计算机科学或法律文件中描述空值或无效内容。

“The database returned a null value for that query.”

(数据库对该查询返回了一个空值。)

“The contract was declared null and void.”

(该合同被宣布无效作废。)

同义词:void, invalid, nonexistent

noun

❶ 零值或空值的正式表达,特指计算机系统中表示数据缺失的特殊值。

“The function returns a null if no match is found.”

(若未找到匹配项,该函数会返回空值。)

“Comparing a null with zero can cause errors in programming.”

(在编程中将空值与零比较可能导致错误。)

同义词:zero, nothing, blank

常见短语

null and void — 法律术语,表示完全无效或失去法律效力,常用于合同或协议的废止声明。

“The judge declared the agreement null and void.”

(法官宣布该协议无效作废。)