<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xtalco</author_name>
  <author_url>https://blog.hatena.ne.jp/xtalco/</author_url>
  <blog_title>新言語 Xtalを作る日記</blog_title>
  <blog_url>https://xtalco.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>昨日のCarクラスを継承したSuperCarクラスを定義します SuperCar : class extends Car{ // アクセルを踏む関数をオーバーライドする step_on_accelerator : method(power){ // Carクラスのstep_on_acceleratorメソッドを呼び出す Car::step_on_accelerator(power * 2); } } super_car : SuperCar(); super_car.step_on_accelerator(1); println(super_car.velocity); // 2継承にはext…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20060930&quot; title=&quot;classの継承 - 新言語 Xtalを作る日記&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>2006-09-30 00:00:00</published>
  <title>classの継承</title>
  <type>rich</type>
  <url>https://xtalco.hatenadiary.org/entry/20060930</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
