<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akira2kun</author_name>
  <author_url>https://blog.hatena.ne.jp/akira2kun/</author_url>
  <blog_title>技術とか戦略とか</blog_title>
  <blog_url>https://akira2kun.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>Javaの変数の型は、プリミティブ型と参照型に大別されます。そして、変数の値が同じであるかどうかを確認する場合、プリミティブ型は == で同じ値であることを確認できる（同じ値の場合はTrueになる）のに対し、参照型の場合は原則として == では確認できず、equalsメソッドを使う必要があります。 しかし、参照型の場合であっても、== で確認できる場合があります。それは、参照型の変数にリテラル（ソースコード内に直接記述された定数値）を直接代入した場合です。 以下で、順番を追って説明していきます。 【メモリへの値の保持の方法】変数の値はメモリに保持されます。メモリは1バイト（8ビット）ずつ細かく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fakira2kun.hatenablog.com%2Fentry%2F2024%2F03%2F22%2F002306&quot; title=&quot;Java：リテラル用の領域の確保について - 技術とか戦略とか&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/akira2kun/20240322/20240322002234.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-22 00:23:06</published>
  <title>Java：リテラル用の領域の確保について</title>
  <type>rich</type>
  <url>https://akira2kun.hatenablog.com/entry/2024/03/22/002306</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
