Java中的null
摘要:
1. null是Java中的关键字,像public、static、final。它是大小写敏感的,你不能将null写成Null或NULL,编译器将不能识别它们然后报错。 2. 就像每种原始类型都有默认值一样,如int默认值为0,boolean的默认值为false,null是任何引用类型的默认值,不严格 阅读全文
posted @ 2017-09-07 17:25 cag2050 阅读(305) 评论(0) 推荐(0)
posted @ 2017-09-07 17:25 cag2050 阅读(305) 评论(0) 推荐(0)
posted @ 2017-09-07 17:01 cag2050 阅读(124) 评论(0) 推荐(0)
posted @ 2017-09-07 15:53 cag2050 阅读(280) 评论(0) 推荐(0)
posted @ 2017-09-07 01:40 cag2050 阅读(457) 评论(0) 推荐(0)