Question: please help with Java ( please send answer within 50mins) Thanks Using Java programming language, implement class Residence assuming all the other classes are implemented.

please help with Java ( please send answer within 50mins) Thanks

please help with Java ( please send answer within 50mins) Thanks Using

Using Java programming language, implement class Residence assuming all the other classes are implemented. You need to document your code using Javadoc for full marks. Make sure to include the author using the proper tag. Additional clarifications: . The method addRoom checks if the room is in the HashMap. If the room is already in the HashMap, the capacity is updated. Otherwise, the room along with the capacity is added. The method calculate AvailableCapacity returns the available capacity calculated as follows: "Total capacity - number of students". The total capacity is calculated by adding the capacity of each room. Building Person Campus -name: String - ID int -name: String - ID int -people: ArrayList -grades: HashMap - HashMap evaluations students: ArrayList - lecture Halls: HashMap + addLecture Hall(String roomName, Integer capacity: void + calculate TotalNumberRooms(): Integer toString(): String +toString(): String

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!