init commit
This commit is contained in:
19
Question08-Method/src/PTra08_03.java
Normal file
19
Question08-Method/src/PTra08_03.java
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* PTra08_03.java
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
public class PTra08_03{
|
||||
public static void main(String[] args) {
|
||||
// TODO String型の str という変数にhelloメソッドの戻り値を代入してください
|
||||
|
||||
// TODO str の値を出力してください
|
||||
|
||||
}
|
||||
|
||||
public static String hello() {
|
||||
return "こんにちは";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user