質問編集履歴

3

追記

2021/11/28 02:48

投稿

guijiu
guijiu

スコア35

test CHANGED
File without changes
test CHANGED
@@ -20,4 +20,4 @@
20
20
 
21
21
 
22
22
 
23
- 結城本、「増補改訂版 Java言語で学ぶデザインパターン入門」p48 第4章Factoryメソッドからの抜粋です。
23
+ 結城本、「増補改訂版 Java言語で学ぶデザインパターン入門」p48 第4章Factory Methodパターンからの抜粋です。

2

説明追記

2021/11/28 02:48

投稿

guijiu
guijiu

スコア35

test CHANGED
File without changes
test CHANGED
@@ -20,4 +20,4 @@
20
20
 
21
21
 
22
22
 
23
- 結城本、「増補改訂版 Java言語で学ぶデザインパターン入門」p48からの抜粋です。
23
+ 結城本、「増補改訂版 Java言語で学ぶデザインパターン入門」p48 第4章Factoryメソッドからの抜粋です。

1

誤記訂正

2021/11/28 02:37

投稿

guijiu
guijiu

スコア35

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  public abstract class Factory {
8
8
 
9
- Product final Product create(String owner){
9
+ public final Product create(String owner){
10
10
 
11
11
  ・・・
12
12