go top

null pointer exception

  • 空指针异常:在编程中,当试图在空对象上调用方法或访问属性时,会引发空指针异常。

网络释义

  空指针异常

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

基于750个网页-相关网页

  空指针错误

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

基于20个网页-相关网页

双语例句

  • In this example, line 6 will cause a null pointer exception because the variable actions has not been initialized.

    在这个例子中,第6行将产生一个null指针异常,因为变量actions还没有初始化。

    youdao

  • The system level error includes syntactical error, null pointer exception, web service timeout, database connection timeout, and so on.

    系统级错误包括语法错误、空指针异常、web服务超时、数据库连接超时等。

    youdao

  • It looks for cases where a code path will or could cause a null pointer exception, and it also looks for cases in which there is a redundant comparison to null.

    它查找代码路径将会或者可能造成null指针异常的情况,它还查找对null的冗余比较的情况。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定