Question06-08

This commit is contained in:
2026-09-11 14:10:57 +09:00
parent deb89b6c5d
commit ad3f339f73
3 changed files with 8 additions and 5 deletions

View File

@@ -8,8 +8,9 @@ public class PTra01_06 {
public static void main(String[] args) {
// TODO boolean型の変数 bo を true で初期化してください。
String bo = "true";
// TODO bo の値を出力してください
System.out.println(bo);
}
}

View File

@@ -8,8 +8,9 @@ public class PTra01_07 {
public static void main(String[] args) {
// TODO long型の変数 lo を 1000000000000 で初期化してください。
long LargeNumber = 1000000000000L;
// TODO lo の値を出力してください
System.out.println(LargeNumber);
}
}

View File

@@ -8,8 +8,9 @@ public class PTra01_08 {
public static void main(String[] args) {
// TODO float型の変数 fl を 3.14 で初期化してください。
float Number = 3.14f;
// TODO fl の値を出力してください
System.out.println(Number);
}
}