help! problem with eclipse?
i have created a simple hash set where it takes two simple argument and will give me 3 output, intersection, union and minus. It seem to me that i did everything right (i guess not), no error seem to show by using eclipse. i give 2 argument (string) but once i proceed it says "it could not find the main class." here is my program below. how do i fix this problem?
static HashSet <Character> stringToSet(String s)
HashSet <Character> s1= new HashSet();
for (int i=0;i<s.length();i++)
//converts a set of string into a set.
public static void main(String  args)
HashSet <Character> a1 = stringToSet(args);
HashSet <Character> a2 = stringToSet(args);
HashSet b = sets.union(a1, a2);
HashSet c = sets.intersection(a1, a2);
HashSet d = sets.minus(a1, a2);