what if i wanted to return a new Set object (towards the bottom of the code) as a string, but the constructor doesn't accept String arguments, how do i write the methods to correct that? public class Set { // define fields here
public Set(int maxinteger) { // complete this method }
public boolean add(int integer) { return false; // replace this line with your code }
public boolean remove(int integer) { return false; // replace this line with your code }
public boolean contains(int integer) { return false; // replace this line with your code }
public int size() { return 0; // replace this line with your code }
public String toString() { return null; // replace this line with your code }
public void addAll(Set other) { // complete this method }
public Set subset(int min, int max)[b]<------[/b] { return null; // replace this line with your code }
public Set intersection(Set other)[b]<------[/b] { return null; // replace this line with your code }
public Set difference(Set other)[b]<-----[/b] { return null; // replace this line with your code } }