init
This commit is contained in:
16
Question12-Encapsulation/src/PTra12_02.java
Normal file
16
Question12-Encapsulation/src/PTra12_02.java
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* PTra12_02.java
|
||||
* 作成 Rhizome
|
||||
*------------------------------------------------------------
|
||||
* Copyright(c) Rhizome Inc. All Rights Reserved.
|
||||
*/
|
||||
|
||||
// TODO 同一パッケージのItemAクラスを変更してエラーが出ないようにしてください。
|
||||
// ※ このクラスの内容は変更しないこと
|
||||
public class PTra12_02 {
|
||||
public static void main(String[] args) {
|
||||
ItemA item = new ItemA();
|
||||
System.out.println(item.name);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user