init
This commit is contained in:
14
Question20-InstanceBasicOperation/src/Toys.java
Normal file
14
Question20-InstanceBasicOperation/src/Toys.java
Normal file
@@ -0,0 +1,14 @@
|
||||
import java.util.List;
|
||||
|
||||
public class Toys {
|
||||
private List<String> toysList;
|
||||
public Toys(List<String> toysList) {
|
||||
this.toysList = toysList;
|
||||
}
|
||||
public List<String> getToysList() {
|
||||
return toysList;
|
||||
}
|
||||
public void setToysList(List<String> toysList) {
|
||||
this.toysList = toysList;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user