学年

教科

質問の種類

資格 大学生・専門学校生・社会人

この問題の2行目sbというのはなんでしょうか。 文字型sという箱の中にABCDという値が入っていて、 StringBuffer:sb←stringBuffer(s) sbという箱の中をABCDで初期化するという意味かと思ったのですが メンバ変数とかメソッドとかを説明してる枠... 続きを読む

ワグラム中の 問 11 次の記述中の [7] オブジェクト指向 頭の位置は1である。 (4)として Catsb 解説 p. 158 クラス StringBuffer は文字列処理を行うクラスである。 クラス StringBuffer a 図に示す。 に入れる正しい答えを, 解答群の中から選べ。 ここで、文字の先 明を ある。 関数 stringProcessing を stringProcessing ("ABCD") として呼び出すと, 戻り値はで ()tignod 型 説明 メンバ変数 文字列型 格納する文字列。 str 説明 コンストラクタ StringBuffer (文字列型: str) (Linersqlstsb. メソッド 戻り値 引数 strでメンバ変数 str を初期化する。 説明 append(文字列型: str) StringBuffer メンバ変数 str の末尾に引数 str を追加し,イ ンスタンスへの参照を返す。 delete(整数型: start, StringBuffer メンバ変数 str の start 番目からend - 1番 目まで削除し, インスタンスへの参照を返す。 メンバ変数 str を返す。 整数型: end) toString() 文字列型 TIDNA replace (整数型: start, StringBuffer メンバ変数 str の start番目から end 整数型 end, 文字列型: str) lastIndexOf( 整数型 文字列型: str) 目の部分文字列を引数 str に置換し, インス inersqtiqson タンスへの参照を返す。 tibne メンバ変数 str を検索し, 引数 strが最後に出 現する、先頭からの文字位置を返す。見つか らない場合は-1を返す。 図 クラス StringBuffer の説明 ISASE [プログラム] 1: ○整数型: stringProcessing (文字列型:s) 2: StringBuffer: sb ← StringBuffer(s) 3: sb ←sb.append("ABCD").delete(4, 6) 4: sb ← sb.append(sb.delete(2, 3).toString()).replace(3, 4, "D") 5: return sb.lastIndexOf("CD") 第1部 予想 ided ist ge 01508300 金を

解決済み 回答数: 1
TOEIC・英語 大学生・専門学校生・社会人

なぜ we wereと過去形になっているのでしょうか? どのような用法が適用されていますか?

13:01 10月27日 (金) < 解答・解説 Questions 18 through 20 refer to the following conversation. M: Allison, can I ask you for a favor? W: Sure, what do you need? M: ① Could you call the restaurant where the company dinner will be held on Friday and let them know we'd like to start at seven P.M. instead of six P.M.? W:②I thought we were going to finish early that day. M: ③Oh, that's right. You couldn't make this morning's meeting. ④ They announced that we'll be doing a company_photo shoot before the party, and that'll take about an hour. W: Oh, I see. Hmm... I can't find the details about the party venue. ⑤ⓢ Do you have the phone number? M: Yes. I have it right here. M: Allison さん、 お願いがあるのですが。 W: もちろんです、 何が必要ですか。 人間に人 2日目 2 0:39 : 17. K 12. 日日4人 19. 00×1?0 履歴 > Why does the man say, "You couldn't make this morning's meeting"? (A) To express disappointment (24%) (B) To provide an explanation (33%) (C) To request a reason (20%) (D) To show concern (23%) (A) 落胆を伝えるため (B) 説明を提供するため (C) 理由を求めるため (D) 懸念を示すため 男性はなぜ "You couldn't make this morning's meeting" と言っています か。 正解 (B) 解答: (A) ① 43% x1.0 A+ Abc 女性が②で早く終わると思っていたと認識を述べた後、 男性は③で、そう だったと納得を示し、 引用文に続く④で説明を加えています。 自動遷移 0:43

解決済み 回答数: 1
1/8