Page 1 of 1

(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
by answerhappygod
B A Management System For A University Includes The Following Java Classes Methods Are Not Shown Class Student S 1
B A Management System For A University Includes The Following Java Classes Methods Are Not Shown Class Student S 1 (70.17 KiB) Viewed 28 times
(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.