Question: NOTE: STUDENTS name is Rayan , Usman , Hassan , Taha , Fahad need this program in java Q.No.1 Develop a Registration System for a
NOTE: STUDENTS name is Rayan , Usman , Hassan , Taha , Fahad need this program in java
Q.No.1 Develop a Registration System for a University. It should consist of three classes namely Student, Teacher, and Course. A student needs to have a name, roll number, semester, address and GPA to be eligible for registration. Therefore, choose appropriate data types for encapsulating these properties in a Student object/s. A teacher needs to have name, address, telephone number, and a degree (or a list of degrees) he/she has received. A Course must have a name, students (5 students) registered for the course, and a teacher assigned to conduct the course. Create an object of Course with 5 Students and a Teacher. A call to a method, say printDetails(), of the selected course reference should print name of the course, details of the teacher assigned to that course, and names and roll numbers of the students enrolled with the course
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
