Reading II – Ms. Yamada writes an email about her trip in Mo…

Reading II – Ms. Yamada writes an email about her trip in Montreal, Canada to her friend, Mr. Yamashita. (3 pts) (おしろ = castle) 山下さん、今、カナダのモントリオールにいます。ここはちょっとさむいです。モントリオールはとてもきれいなまちです。きのうはおしろをみました。ふるかったですが、とてもきれいでした。たくさんしゃしんをとりました。 よるはクラシックのコンサートに行きました。よかったです。モントリオールにはカフェがたくさんあります。まい日カフェでコーヒーを飲みます。すごくおいしいですよ。カフェには外国人がたくさんいて、にぎやかです。山下さん、だいがくはどうですか。たいへんですか。    メールしてください。では、また。山田もえ Circle “True” if the following information is correct. If the information is not correct, circle “False”. (1×3=3) Ms. Yamada is currently in Montreal. [1] Ms. Yamada goes to a cafe every day. [2] Ms. Yamada is going to write another email to Mr. Yamashita later. [3]

©LS Complete the following code for a StringBuilder as instr…

©LS Complete the following code for a StringBuilder as instructed in the line comments.©LS  Be conscious of the type of object you’re dealing with, which in turn dictates the method(s) you’re using.©LS String title = “President”, name = “Jack kennedy”, country = “United States”; //©LS [StringBldrObj]  //©LS Create a StringBuilder object called correctName and send it name.©LS [Capitalize]  //©LS Capitalize the ‘k’ in “Kennedy”.©LS Cannot use toUpperCase() or deleteCharAt(). ©LS  [Replace]  //©LS Replace “Jack” with “John”.©LS [InsertTitleSp]  //©LS Insert the title and a space (think concatenate w/symbol).©LS [Msg]  //©LS Append ” was the 35th President of the ” to the object.©LS [Country]  //©LS Append the country and a period.©LS [PrintObj]  //©LS Print the object using an implicit call to toString().©LS /* ©LS Use the StringBuilder object to call its toString() explicitly, then call split()  * to tokenize the String version of the StringBuilder object into an array called message.©LS   * Use a space as the delimiter or separator.©LS This is all one Java statement.*/[SplitToTokenize]  [EnhancedFor]  //©LS Code the header for an enhanced for to print the tokens from the message array.©LS The variable to hold each token is called word.               {   System.out.[printf](“%n%s”, [arg]);  //©LS Fill-in the correct method to print.                                           //©LS Fill-in the correct argument.}//©LS END enhanced for