質問編集履歴
1
無駄なコードがあったため修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -64,22 +64,4 @@
|
|
64
64
|
System.out.println("res:"+res);
|
65
65
|
}
|
66
66
|
}
|
67
|
-
class Playground2{
|
68
|
-
String a = "sampl";
|
69
|
-
int b = 6;
|
70
|
-
public String seta(){
|
71
|
-
this.a = a;
|
72
|
-
}
|
73
|
-
public int setb(){
|
74
|
-
this.b = b;
|
75
|
-
}
|
76
|
-
public String geta(){
|
77
|
-
return a;
|
78
|
-
}
|
79
|
-
public int getb(){
|
80
|
-
return b;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
|
85
67
|
```
|