The program will read from stdin. The first line will be set a, and the second set b. You need to do some basic error checking on the input. Use exception handling to do this.
The definition of a set for this problem is : ordered integers with no duplicate values.
You will want to make copies of your sets to accomplish this. The java way to do this is to impliment a clone method that does this.
here are sample runs from mine
This is due on July 28th.