init commit
This commit is contained in:
16
Question13-Extends/src/common/Dog.java
Normal file
16
Question13-Extends/src/common/Dog.java
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
package common;
|
||||
|
||||
// TODO 同一パッケージのAnimalクラスを継承してください
|
||||
public class Dog {
|
||||
/*
|
||||
* TODO eatメソッドをオーバーライドして以下の内容が出力されるようにしてください。
|
||||
* name はドッグフードを食べました
|
||||
* ※ name には name フィールドの値が入る
|
||||
*/
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user