Question: help in java Project Requirements: Phase 1: Designing the backend of your application Create at least 3 classes: Course, User, and Room (you can add

help in java
help in java Project Requirements: Phase 1: Designing the backend of your

Project Requirements: Phase 1: Designing the backend of your application Create at least 3 classes: Course, User, and Room (you can add more classes as you see necessary). Also consider the following guidelines: - The class User contains the following properties: userName, userld, password, and userType. The userType property indicate if the user is a student or an admin. Also contains the methods toString, equals, properties accessors and mutators. - Class Room has three datafields: roomNum, buildingNum, and capacity. In addition to the methods: toString, equals, and the datafields accessors and mutators - The class Course contains the following private properties: "courseld", "courseName", "courseCode", "room" (an object of type Room), and "students" which is an arraylist of Student objects that contains all the students registered in the course. Also, the class contains the accessors and mutators methods for aforementioned properties, in addition to the methods "toString" and "equals". Finally, add three methods called "addNewStudent" that will add a new student to the "students" arraylist, "checkStudent" that check if a student already registered in the course, and "roomNotFull" that won't allow further students to register in the course if the number of already registered students equals the room capacity. - Create some overloaded constructors with parameters for each class, along with appropriate methods as you see fit, and declare all the datafields to be private

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!