質問編集履歴

2

情報が不足していたため、追記

2018/12/04 15:54

投稿

Hanbe.T
Hanbe.T

スコア36

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,8 @@
48
48
 
49
49
  }
50
50
 
51
+ // 他にも具象メソッドが存在する。
52
+
51
53
  }
52
54
 
53
55
 

1

MainTestクラスに関して、case "2"の際に使用しているクラスが間違っていたため、修正

2018/12/04 15:54

投稿

Hanbe.T
Hanbe.T

スコア36

test CHANGED
File without changes
test CHANGED
@@ -108,7 +108,11 @@
108
108
 
109
109
  case "2":
110
110
 
111
+ // 誤り
112
+
113
+ //Test1 t2 = new Test1();
114
+
111
- Test1 t2 = new Test1();
115
+ Test2 t2 = new Test2();
112
116
 
113
117
  mainLogic((TestAbs) t2);
114
118