<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>継承</anon>
    <anon>ポリモーフィズム</anon>
  </categories>
  <description>Javaのコンポジションについて 継承とコンポジションのどちらを使うべきか 継承を使用するべき場合 コンポジションを使用するべき場合 コンポジションと共通(ユーティリティ)クラスの使用の違い コンポジション 共通(ユーティリティ)クラス Javaのコンポジションについて Javaにおいて、コンポジション（Composition）は、オブジェクト指向プログラミングの概念の一部であり、異なるクラスのオブジェクトを組み合わせる実装方法です。 これは継承とは異なりますが、オブジェクト同士の関係を構築する際に利用されます。コンポジションでは、一つのクラスが他のクラスのオブジェクトを所有します。 これによ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F02%2F10%2F233037&quot; title=&quot;Javaのコンポジションと継承との違い - Web開発における知見共有系ページ&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>2024-02-10 23:30:37</published>
  <title>Javaのコンポジションと継承との違い</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/02/10/233037</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
