{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.beatdjam.com%2Fentry%2F2018%2F04%2F11%2F002556\" title=\"\u3010Kotlin\u3011Kotlin\u306eNull\u5b89\u5168 - B-Teck!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"B-Teck!","url":"https://blog.beatdjam.com/entry/2018/04/11/002556","blog_url":"https://blog.beatdjam.com/","title":"\u3010Kotlin\u3011Kotlin\u306eNull\u5b89\u5168","version":"1.0","published":"2018-04-11 00:25:56","provider_name":"Hatena Blog","description":"dogwood008.github.io Kotlin\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306eNull\u5b89\u5168\u306e\u30da\u30fc\u30b8\u304c\u82f1\u8a9e\u3057\u304b\u306a\u3055\u305d\u3046\u3060\u3063\u305f\u306e\u3067\u3001\u3056\u3063\u304f\u308a\u7ffb\u8a33\u3057\u3064\u3064\u4f8b\u3092\u8db3\u3057\u305f\u308a\u3057\u305f\u3002 Null\u5b89\u5168 Kotlin\u3067\u306f\u4e0b\u8a18\u306e\u8981\u56e0\u4ee5\u5916\u3067NPE\u3092\u8d77\u3053\u3059\u3053\u3068\u304c\u7121\u3044\u3088\u3046\u4f5c\u3089\u308c\u3066\u3044\u308b\u3002 \u660e\u793a\u7684\u306a throw NullPointerException() !! \u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408 \u5916\u90e8\u306eJava\u30b3\u30fc\u30c9\u304c\u539f\u56e0\u306e\u5834\u5408 \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u5229\u7528\u53ef\u80fd\u306a\u521d\u671f\u5316\u3055\u308c\u3066\u3044\u306a\u3044this\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b Null\u53ef\u80fd\u5024 Null\u5024\u3092\u53d6\u308a\u3046\u308b\u5909\u6570\u306f\u660e\u793a\u7684\u306bNull\u53ef\u80fd\u5024\u3068\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044 var a: String = \"abc\" a = null //\u2026","categories":["Kotlin"],"type":"rich","author_url":"https://blog.hatena.ne.jp/beatdjam/","author_name":"beatdjam","height":"190","width":"100%","provider_url":"https://hatena.blog"}