关于空指针异常的思考

在Java中对值为null的指针调用任何方法,就会引发空指针异常(java.lang.NullPointerException)。

猜你喜欢

转载自blog.csdn.net/qq_33366098/article/details/81102610