Vinh La Kiến

48 bundles
1 file3 months ago
1

Java Basic MVC

1234567891011121314151617181920212223242526
class StudenController { private Student model; private StudentView view; public StudenController(){} public updateView() { model = new Student(); view.printStudentDetails(model); } } class StudentView { public void printStudentDetails(); } clas Student { private string rollNo; private string rollName; public string getName(); public void setName(string); public string getRollNo(); public void setRollNo(string); }