<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>porimon</author_name>
  <author_url>https://blog.hatena.ne.jp/porimon/</author_url>
  <blog_title>porimon’s blog</blog_title>
  <blog_url>https://porimon.hatenablog.com/</blog_url>
  <categories>
    <anon>IT</anon>
    <anon>Java</anon>
  </categories>
  <description>複数のデータの表示 書式指定の種類 桁数の指定 複数のデータの表示 ↓コード↓ System.out.printf(&quot;%d &gt; %d&quot;, 5+6, 3); ↓実行結果↓ 11 &gt; 3 printfメソッドは書式を指定してデータを表示することができる。 書式指定の種類 書式指定には主に以下の種類があります。 %d ： 整数を10進数で表示。 %f ： 実数（小数点）を表示。 %c ： 文字（’で囲まれた半角文字1個）を表示。 %s ： 文字列（&quot;で囲まれた文字）を表示。 桁数の指定 ↓「25」という数字を空白を含めて5文字で表示するコード↓ int a= 25;System.out.printf…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fporimon.hatenablog.com%2Fentry%2F2021%2F11%2F17%2F144051&quot; title=&quot;#5初心者学習用　java言語　書式付きでデータを出力 - porimon’s blog&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>2021-11-17 14:40:51</published>
  <title>#5初心者学習用　java言語　書式付きでデータを出力</title>
  <type>rich</type>
  <url>https://porimon.hatenablog.com/entry/2021/11/17/144051</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
