エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
String.length() と 配列.length が違う理由(解決してない) - Qiita
String str = "a"; int[] array = new int[10]; System.out.println( "文字列の長さ = " + str.length()... String str = "a"; int[] array = new int[10]; System.out.println( "文字列の長さ = " + str.length() + "配列の要素数 = " + array.length); なぜ、配列のlength には() がつかないのか? 疑問に思ってAPI のソース(1.8)を見てみました。 String.java#length() /** * Returns the length of this string. * The length is equal to the number of <a href="Character.html#unicode">Unicode * code units</a> in the string. * * @return the length of the sequence of charac
2014/05/09 リンク