What exactly are those controllers? We were asked to build an ATM in Java for school project, and part of our design is:
- We have accounts that stores most of informations
- We have users that can make operations for their own accounts and stores some minor informations. (Also we have atm class to store users and make some toplevel changes)
- We have userInterface to catch inputs and use controllers.
Am I right that our accounts are models, interfaces are views and users are controllers?
Thanks a lot to address my problem,!
Aucun commentaire:
Enregistrer un commentaire