Multiple choice technology programming languages

Given: class Waiter{ void takeOrders(){ } void serveFood(){ } void takeOrdersAndServe(){ takeOrders(); serveFood(); } }

  1. It exhibits high cohesion

  2. It exhibits low cohesion

  3. It exhibits tight coupling

  4. It exhibits loose coupling

  5. None of the Above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The Waiter class methods all work closely together to perform related tasks regarding order handling and serving. This strong functional relatedness within a single class represents high cohesion.