<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rasumus</author_name>
  <author_url>https://blog.hatena.ne.jp/rasumus/</author_url>
  <blog_title>rokkonet</blog_title>
  <blog_url>https://rasumus.hatenablog.com/</blog_url>
  <categories>
    <anon>kotlin</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>2020 Jun. 28. init{}初期化処理はプライマリコンストラクタから呼ばれる。 セカンダリコンストラクタでの初期化処理は initキーワードを使わず，constructor() : this() {}ブロックに記述する。 参考元 https://www.web-knowledge-info.com/posts/kotlin23.htmlセカンダリコンストラクタに有り、プライマリコンストラクタには無い引数について、その値を保持する変数（プロパティ）はクラス定義ブロックの冒頭に宣言しておく。サブクラスのプライマリコンストラクタ内ではinit{}を書いていなくても，プライマリコンストラク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frasumus.hatenablog.com%2Fentry%2F2020%2F06%2F28%2F015555&quot; title=&quot;kotlinでのクラス。コンストラクタ，init{}初期化処理，継承サブクラスでのコンストラクタ実行 - rokkonet&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>2020-06-28 01:55:55</published>
  <title>kotlinでのクラス。コンストラクタ，init{}初期化処理，継承サブクラスでのコンストラクタ実行</title>
  <type>rich</type>
  <url>https://rasumus.hatenablog.com/entry/2020/06/28/015555</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
