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