String[] names = new String[namesListSet.size()];
int[] nums = new int[namestimesSet.size()];
namesListSet.toArray(names);
[B]namestimesSet.toArray(nums);[/B]
for (String s : names) {
System.out.print(s);
}
i'm getting an error on the bold part. getting symbol not found.