クエスチョン1,2,3完了しました。
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
*/
|
||||
public class PTra01_03 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
String str;
|
||||
// TODO 文字列型の変数 str を宣言してください。
|
||||
|
||||
str = "こんにちは";
|
||||
// TODO str に こんにちは を代入してください
|
||||
|
||||
System.out.println(str);
|
||||
// TODO str の値を出力してください
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user