Hi I'm new to Java and I badly need help on how to implement the Set interface below:
Can you show me the simplest way in implementing the interface. Any method would do... I just need to be able to add values to a Set and implement a union on a Set. Thanks much.Quote:
public interface Set {
public Set union(Set S);public void add(Object x);}
