<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kamoi-kenichi</author_name>
  <author_url>https://blog.hatena.ne.jp/kamoi-kenichi/</author_url>
  <blog_title>System.out.println(&quot;Java学習中&quot;);</blog_title>
  <blog_url>https://blog.kenichikamoi.com/</blog_url>
  <categories>
    <anon>【Java Silver対策】</anon>
  </categories>
  <description>Adobe Fireflyで作成 🟢 はじめに 今回は、Java Silverなどの試験でも超頻出のテーマと言われる do-while文 に潜むひっかけポイントについて解説してみたいと思います。 🧭 今回のダンジョンコード まずは、今回のコードを見てみましょう。 ある冒険者が、 1歩歩くごとにダメージを受ける「毒の沼地」 を歩いているコードです。 public class Main { public static void main(String[] args) { // --- ステージ1：安全な結界の部屋 --- int hpA = 10; do { System.out.println(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kenichikamoi.com%2Fentry%2F2026%2F05%2F21%2F002952&quot; title=&quot;【Java Silver対策】do-while文に潜むインデントの罠と条件式のひっかけ - System.out.println(&amp;quot;Java学習中&amp;quot;);&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/k/kamoi-kenichi/20260521/20260521002938.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-21 00:29:52</published>
  <title>【Java Silver対策】do-while文に潜むインデントの罠と条件式のひっかけ</title>
  <type>rich</type>
  <url>https://blog.kenichikamoi.com/entry/2026/05/21/002952</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
