(b) A management system for a university includes the following Java classes. (Methods are not shown). class Student { S
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(b) A management system for a university includes the following Java classes. (Methods are not shown). class Student { S
(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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!