学年

質問の種類

英語 高校生

横線部の〈where〉は関係副詞でしょうか。解説もお願いします🙇

dangerous places. He thought, "Even if people cannot see, their feet can feel the difference of the surfaces. (3) This will warn them of danger." In 1965, after many trials and errors*,/he created some samples with his own money. 15 He gave these samples to the local government. In 1967, 230 of his blocks were placed in front of an intersection* in Okayama City, Japan. These These were the world's first Braille Blocks. 3 Over time, the use of Braille Blocks spread in Japan, and then around the A-49 world. However, accidents sometimes happened where the blocks had not 20 yet been placed. Local governments and railroad companies quickly started to place the blocks in dangerous areas. As a result, many organizations made the Tenji Blocks with their own designs. This caused some confusion. In 1996, the Japanese government started research to make standards for the Tenji Blocks. A team of scientists and 60 people with vision problems 25 worked together to find the easiest ( A ) to use. Then, in 2001, the standards were finally made. still 4 Although the designs have been standardized, there are (4)many problems. We still see various types of old blocks. They must be replaced with new standard blocks as soon as possible. In addition, the standards do 30 not say the color or material to use, or how to place the blocks. A-50 In March 2012, the ISO* (International Organization for Standardization) A-51 32

解決済み 回答数: 1
資格 大学生・専門学校生・社会人

この問題の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