a restaurant where you serve yourself and pay a cashier
"We had to wait in line at the cafeteria because we wanted to grab lunch before our next class."
A restaurant in which customers select their food at a counter then carry it on a tray to a table to eat
"The students crowded into the cafeteria, each grabbing a plate and filling it up before finding an empty table near the window."