{"author_url":"https://blog.hatena.ne.jp/gurrium/","url":"https://giarrium.hatenablog.com/entry/2021/11/15/195313","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F11%2F15%2F195313\" title=\"150\u65e5\u76ee  - \u305c\u306e\u305c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://giarrium.hatenablog.com/","author_name":"gurrium","image_url":null,"provider_name":"Hatena Blog","published":"2021-11-15 19:53:13","blog_title":"\u305c\u306e\u305c","description":"\u65e5\u8a18 \u3044\u3064\u306e\u9593\u306b\u304b150\u65e5\u76ee\u3060\u3063\u305f\uff0e\u3053\u306e\u524d100\u65e5\u76ee\u3058\u3083\u306a\u304b\u3063\u305f\u3063\u3051\uff0e\u98db\u3070\u3057\u305f\uff1f \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 abstract class Dwelling(private var residents: Int) { abstract val buildingMaterial: String abstract val capacity: Int fun hasRoom(): Boolean { return residents < capacity } } \u611f\u60f3 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u308c\u306a\u3044\u62bd\u8c61\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u306b\u306fabstract\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u3064\u3051\u308b\uff0e\u3053\u306e\u611f\u3058\u3060\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u5b9f\u88c5\u3082\u63d0\u4f9b\u3067\u304d\u305d\u3046\uff0e","width":"100%","height":"190","categories":["Kotlin"],"version":"1.0","title":"150\u65e5\u76ee ","type":"rich"}