Pregunta de entrevista de Vista

How do you design a Restaurant Robot using object oriented programming? Design appropriate class and state diagram.

Respuestas de entrevistas

Anónimo

27 jul 2018

I drew few class with inheritance and model objects. explained it and that's pretty much it.

Anónimo

3 jul 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