init
This commit is contained in:
17
Question16-JavaStandardClass/src/PTra16_01.java
Normal file
17
Question16-JavaStandardClass/src/PTra16_01.java
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* PTra16_01.java
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
public class PTra16_01 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
/*
|
||||
* TODO 現在時刻を以下の例のような形式で出力してください
|
||||
* 例 : 2019年04月01日
|
||||
* ※ DateTimeFormatterを利用してください
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
23
Question16-JavaStandardClass/src/PTra16_02.java
Normal file
23
Question16-JavaStandardClass/src/PTra16_02.java
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* PTra16_02.java
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
public class PTra16_02 {
|
||||
public static void main(String[] args) {
|
||||
|
||||
boolean b = true;
|
||||
byte by = 100;
|
||||
short s = 300;
|
||||
char c = '日';
|
||||
int i = 1000;
|
||||
long l = 2000L;
|
||||
float f = 3.14F;
|
||||
double d = 453.592;
|
||||
|
||||
// TODO 上記基本型を、それぞれのラッパークラスに代入してください
|
||||
|
||||
// TODO ラッパークラスに代入した値を出力してください
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user