素早く問題を解いてInput⇔Outputを繰り返し!
会員レベル
ログイン
メンバーシップアカウント
会員レベル
ログイン
メンバーシップアカウント
HOME
Lv024
「Lv024」の記事一覧
次のコードの出力は? int i = 0; while(i < 3) { System.out.print(i); i++; }
実行結果は012。
2026年1月24日
次のコードの出力は? int x = 5; System.out.println(x > 3 && x < 10);
実行結果はtrue。
2026年1月24日
次のコードの出力は? int x = 5; System.out.println(x > 10 || x < 3);
実行結果はfalse。
2026年1月24日
次のコードの出力は? String s1 = “A”; String s2 = “A”; System.out.println(s1 == s2);
実行結果はtrue。
2026年1月24日
次のコードの出力は? String s1 = new String(“A”); String s2 = new String(“A”); System.out.println(s1 == s2);
実行結果はfalse。
2026年1月24日
次のコードの出力は? int a = 10; int b = a; b = 20; System.out.println(a);
実行結果は10。
2026年1月24日
次のコードの出力は? int[] a = {10, 20, 30}; System.out.println(a.length);
実行結果は3。
2026年1月24日
次のコードの出力は? boolean b = true; System.out.println(!b);
実行結果はfalse。
2026年1月24日
次のコードの出力は? String s = “Java”; System.out.println(s.substring(1, 3));
実行結果はav。
2026年1月24日
次のコードの出力は? int x = 0; for(int i=0; i<3; i++) x += i; System.out.println(x);
実行結果は3。
2026年1月24日
投稿のページ送り
1
…
417
418
419
…
469