请输入您要查询的英文单词:

 

单词 null pointer exception
释义
null pointer exception
  • 简明释义
  • 空指针异常:在编程中,当试图在空对象上调用方法或访问属性时,会引发空指针异常。
  • 网络释义
  • 1

    ?空指针异常

    比如,由于类型系统控制了空指针引用,所以Kotlin不需要空指针异常(NullPointerException)。Kotlin中没有基础类型,数组是定长的,泛型(generic)是安全的,即便运行时也是安全的。

  • 2

    ?空指针错误

    归根就是空指针错误(NullPointerException),主要是因为你使用了一个空的或者没被负值的变量对象或等等!仔细检测每一个变量和对象!

  • 双语例句
  • 1
    Sun's JSF RI expects a renderer will send a null pointer exception if your component doesn't have a renderer.
    Sun 的 JSF RI 期望,在组件没有渲染器的时候,渲染器会发送一个空指针异常。
  • 2
    In this example, line 6 will cause a null pointer exception because the variable actions has not been initialized.
    在这个例子中,第6行将产生一个null指针异常,因为变量actions还没有初始化。
  • 3
    Because FindBugs doesn't know if the map contains "Bob" or not, it will flag line 5 as a possible null pointer exception.
    因为FindBugs不知道map是否包含“bob”,所以它将第5行标记为可能null指针异常。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/3/23 10:57:39