質問編集履歴

1

コードの一部を追記

2019/03/08 08:27

投稿

zakozakoman23
zakozakoman23

スコア13

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,27 @@
17
17
  勉強不足感は否めませんが、どうか知恵をお貸しください。
18
18
 
19
19
  よろしくお願いします。
20
+
21
+
22
+
23
+ ```
24
+
25
+ Properties properties=new Properties();
26
+
27
+ ~
28
+
29
+ Scanner scanner=new Scanner(System.in);
30
+
31
+ String create_character_type=scanner.nextLine();
32
+
33
+ ~
34
+
35
+ if(create_character_type.equals("戦士")){
36
+
37
+ jobs.Senshi create_character_instance=new jobs.Senshi();
38
+
39
+ properties.setProperty("type",create_character_instance.type);
40
+
41
+ ~
42
+
43
+ ```