質問編集履歴
1
無駄なコードがあったため修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -130,40 +130,4 @@
|
|
130
130
|
|
131
131
|
}
|
132
132
|
|
133
|
-
class Playground2{
|
134
|
-
|
135
|
-
String a = "sampl";
|
136
|
-
|
137
|
-
int b = 6;
|
138
|
-
|
139
|
-
public String seta(){
|
140
|
-
|
141
|
-
this.a = a;
|
142
|
-
|
143
|
-
}
|
144
|
-
|
145
|
-
public int setb(){
|
146
|
-
|
147
|
-
this.b = b;
|
148
|
-
|
149
|
-
}
|
150
|
-
|
151
|
-
public String geta(){
|
152
|
-
|
153
|
-
return a;
|
154
|
-
|
155
|
-
}
|
156
|
-
|
157
|
-
public int getb(){
|
158
|
-
|
159
|
-
return b;
|
160
|
-
|
161
|
-
}
|
162
|
-
|
163
|
-
}
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
133
|
```
|