new - used to create a new object of a class., null - used to indicate that an object reference doesn’t refer to any object yet., str1.compareTo(str2) - returns 0 if they two strings have the same characters, a negative number if str1 is less than str2 and a positive number otherwise., str1.length() - returns the number of characters in a string object including any spaces or special characters., str1.equals(str2) - this method of the String class will return true if the characters in the two strings are the same., str1.indexOf(str2) - returns the position that str2 starts in str1 or -1 if str2 isn’t in str1., str1.substring(start,end) - returns a new string with all the characters in str1 from start to end - 1., str1.toLowerCase() - returns a new string with the same characters as in str1, but all lowercase., str1.toUpperCase() - returns a new string with the same characters as in str1, but all uppercase., toString(obj) - this is a method that all classes inherit from the Object class. It can be overriden to print out a string representation of an object.,
0%
Chapters 4
共有
共有
共有
Ldonlan
さんの投稿です
G9
G10
G11
G12
CS
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
マッチアップ
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?