(b) A management system for a university includes the following Java classes. (Methods are not shown). class Student { S
Posted: Fri May 20, 2022 10:44 am
(b) A management system for a university includes the following Java classes. (Methods are not shown). class Student { String regno, name; List<Module> modules; } class Module { String code, name; List<Student> students; > } (i) Write a JSP fragment that will display in tabular form the names and codes of all of the modules taken by a student, and also the total number of such modules. You should assume that a reference to the student is available in a variable called stud of type Student. (ii) Briefly describe one weakness in the design of the classes shown above and suggest a better approach.