{"categories":["Android\u958b\u767a","Kotlin\u5165\u9580"],"description":"Kotlin\u3067\u306f\u57fa\u672c\u7684\u306b\u306f\u300cnull\u300d\u3092\u3042\u307e\u308a\u610f\u8b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002 \u9006\u306b\u3001\u660e\u793a\u7684\u306b\u300cnull\u300d\u3092\u8a2d\u5b9a\u3057\u3066\u3057\u307e\u3046\u3068\u3001 Null can not be a value of a non-null type Int null\u975e\u8a31\u5bb9\u578b\u306eInt\u306bnull\u306b\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093 \u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u30b3\u30fc\u30c9 fun main(){ var a : Int a = null } \u7d50\u679c [\u30a8\u30e9\u30fc] Null can not be a value of a non-null type Intnull\u3068\u3057\u3066\u660e\u78ba\u306b\u7ba1\u7406\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u300c?\u300d\u3092\u4f7f\u3063\u3066\u300cnull\u8a31\u5bb9\u578b\u300d\u3068\u3057\u3066\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30b3\u30fc\u30c9 f\u2026","version":"1.0","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fappdev.blitz-time.com%2Fentry%2F2020%2F06%2F06%2F110531\" title=\"\u3010Kotlin\u5165\u9580\u3011Null can not be a value of a non-null type Int - blitz-time \u30a2\u30d7\u30ea\u958b\u767a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_url":"https://appdev.blitz-time.com/","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mfblitz/","height":"190","published":"2020-06-06 11:05:31","author_name":"mfblitz","title":"\u3010Kotlin\u5165\u9580\u3011Null can not be a value of a non-null type Int","blog_title":"blitz-time \u30a2\u30d7\u30ea\u958b\u767a\u30d6\u30ed\u30b0","url":"https://appdev.blitz-time.com/entry/2020/06/06/110531","width":"100%"}