Do Not Bring Food or Drink to Class.
In many classroom buildings, food is not even allowed, so you're not only displaying poor etiquette, but actually breaking a rule. Make time outside of class to have a meal or a snack -- not in class. Many professors do tolerate drinks, such as waters, coffees, sodas -- but make certain of the professor's policy before bringing your drink to class.