How do you design a Restaurant Robot using object oriented programming? Design appropriate class and state diagram.
Réponses aux questions d'entretien
Utilisateur anonyme
27 juill. 2018
I drew few class with inheritance and model objects. explained it and that's pretty much it.
Utilisateur anonyme
3 juill. 2021
I think 3 design patterns will be used:
1. Observer: Robot subscribes to user's commands, also when meal is ready.
2. Factory Method: Robot provides separate interface to user, and prepares meal with help of separate class at backend.
3. Command: Takes command to edit menu. Add item, remove item et