Question01-05

This commit is contained in:
2026-09-11 13:22:43 +09:00
parent 1b863df929
commit deb89b6c5d
5 changed files with 15 additions and 9 deletions

View File

@@ -8,10 +8,12 @@ public class PTra01_03 {
public static void main(String[] args) {
// TODO 文字列型の変数 str を宣言してください。
String str;
// TODO str に こんにちは を代入してください
str = "こんにちは";
// TODO str の値を出力してください
System.out.println(str);
}
}