<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>test1025</author_name>
  <author_url>https://blog.hatena.ne.jp/test1025/</author_url>
  <blog_title>Java Coffee Cafe</blog_title>
  <blog_url>https://john-smith.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>以下のようなクラスがあるとする class A { private int x; }このクラスに対して以下のメソッドがコンパイルエラーにならずにしかも実行時にもエラーにならずに記述できる場所がある void hoge(A a) { a.x = 10; }普通に考えるとプライベートなメンバへのアクセスなので、コンパイルは通らないしかし、javaのprivateは同じ&quot;クラス&quot;からしかアクセスできないなので同じクラスであれば別なインスタンスでもアクセスできるなので class A { private int x; void hoge(A a) { a.x = 10; } }は問題なく実行できるまぁ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjohn-smith.hateblo.jp%2Fentry%2F20110510%2F1305024586&quot; title=&quot;javaのあんまり知らないほうがいい知識 - Java Coffee Cafe&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>2011-05-10 19:49:46</published>
  <title>javaのあんまり知らないほうがいい知識</title>
  <type>rich</type>
  <url>https://john-smith.hateblo.jp/entry/20110510/1305024586</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
