"Oi, Diego. O que há com os caracteres chineses com um botão no centro?"
“É o famoso padrão de design MVC! tarefa e outra tarefa grande e mais difícil. Quando você resolver a fácil, passe para a grande."
16
Tarefa
Java Collections, nível 6, lição 4
Bloqueado
MVC - a simplified version
Create the Service, Model, View, and Controller classes in separate files.
Move the Solution class's methods to the created classes in accordance with how MVC should work.
Create the required fields in the classes as needed.
Don't add any other methods of your own.
16
Tarefa
Java Collections, nível 6, lição 4
Bloqueado
Refactoring MVC
Move a few methods into the required classes to get the MVC pattern. If necessary, make changes in the main method
that reflect the changes you've made. The program's behavior must not change.
Do NOT change class, method, or field names.