How do I create a method header that takes a string as an argument and returns the characters in the argument as a set. Please only reply if you know the answer. Thanks.
public class Food
{
private TreeSet<String> myList = new TreeSet<String>();
public Food()
{
super();
myList = new TreeSet<String>();
}
public String shoppingList(String aFood)
{
return //
}
}