<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mfblitz</author_name>
  <author_url>https://blog.hatena.ne.jp/mfblitz/</author_url>
  <blog_title>blitz-time アプリ開発ブログ</blog_title>
  <blog_url>https://appdev.blitz-time.com/</blog_url>
  <categories>
    <anon>Kotlin入門</anon>
    <anon>Android開発</anon>
  </categories>
  <description>派生クラスで親クラスのメソッドをオーバーライドします。内容 メソッドをオーバーライドする際にはメソッドに&quot;override&quot;を付加します。また、派生元のクラスメソッドは&quot;open&quot;である必要があります。&quot;open&quot;がないと、”final and cannot be overridden”エラーが発生します。コード open class Person(val mName:String, val mAge:Int ) { var mType = &quot;不明&quot; open fun printType(){ // オーバーライド可能にするために&quot;open&quot;の付加が必要。 println(mType) } }…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fappdev.blitz-time.com%2Fentry%2F2019%2F08%2F31%2F184846&quot; title=&quot;【Kotlin入門】クラスメソッドのオーバーライド - blitz-time アプリ開発ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-31 18:48:46</published>
  <title>【Kotlin入門】クラスメソッドのオーバーライド</title>
  <type>rich</type>
  <url>https://appdev.blitz-time.com/entry/2019/08/31/184846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
