This method of the Category Class retrieves the name of the category.
public String getName();
Returns a String that identifies the category.