学年

質問の種類

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

この問題の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
英語 高校生

この英文の文法を教えて欲しいです。 (関係代名詞、不定詞など) 英語が苦手なのでどのような使い方をするのかなど教えてもらえるとありがたいです。

onference ánf(a)rans] im [éim] articipant artisǝpǝnt] sappointment isapintment] opose [prǝpouz] allenging elindsin] me to do mto do on one's appointment ... at all stantial stanf(ǝ)!] road [réilroud] instream instri:m] t is how ... e hope that... an impact on 3 In How did they come to publish their own paper? 2002, there was a study conference held by CHETNA an NGO that aims to help the children in slums. Among the participants, there were some children from a slum in South Delhi. They were shocked to learn that adults had no idea about what really goes on in a slum! To their disappointment, the children also learned that the media did not cover the issue at all! So they decided to join a project proposed by CHETNA. It was a G1 challenging plan to start a newspaper to let people know about the terrible conditions of kids living in the slums. G1 That is how Balaknama started. The children chose this name in the hope that their paper would serve as "the voice of children." In fact, their articles have sometimes had a substantial impact on society. In 15 2015, a shocking article appeared in Balaknama. It was about slum kids forced by police officers to remove bodies after railroad accidents. The mainstream media reported on the article and the government finally acted and stopped the police. 20 nsion Check id the children learn at a study conference held by CHETNA? roject did CHETNA propose? d the children name the newspaper Balaknama?

回答募集中 回答数: 0
英語 高校生

この英文の文法やtheyやitが何を表しているかなど詳しく教えて欲しいです。

onference ánf(a)rans] im [éim] articipant artisǝpǝnt] sappointment isapintment] opose [prǝpouz] allenging elindsin] me to do mto do on one's appointment ... at all stantial stanf(ǝ)!] road [réilroud] instream instri:m] t is how ... e hope that... an impact on 3 In How did they come to publish their own paper? 2002, there was a study conference held by CHETNA an NGO that aims to help the children in slums. Among the participants, there were some children from a slum in South Delhi. They were shocked to learn that adults had no idea about what really goes on in a slum! To their disappointment, the children also learned that the media did not cover the issue at all! So they decided to join a project proposed by CHETNA. It was a G1 challenging plan to start a newspaper to let people know about the terrible conditions of kids living in the slums. G1 That is how Balaknama started. The children chose this name in the hope that their paper would serve as "the voice of children." In fact, their articles have sometimes had a substantial impact on society. In 15 2015, a shocking article appeared in Balaknama. It was about slum kids forced by police officers to remove bodies after railroad accidents. The mainstream media reported on the article and the government finally acted and stopped the police. 20 nsion Check id the children learn at a study conference held by CHETNA? roject did CHETNA propose? d the children name the newspaper Balaknama?

未解決 回答数: 1