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
タスク
Java Collections, レベル 6, レッスン 4
ロック未解除
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.