Question: Using Java programming language, implement the class LectureBuilding assuming all the other classes are implemented. You need to document your code using Javadoc for full

 Using Java programming language, implement the class LectureBuilding assuming all theother classes are implemented. You need to document your code using Javadoc

Using Java programming language, implement the class LectureBuilding 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. The method addLectureHall checks if the lecture 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. w The method calculate TotalNumberRooms returns the sum of the number of offices and the number of lecture halls. Building Person Campus name. String -name String people ArrayList int Dint buldings. ArrayList - buildings: ArrayList - Building(String name, double size): - getName: String + Person(String name) + getName: String +getido int + setName(String name): void + printBuildings()void + main(String. I args) void - getld()int - setName(String name): void Extends Extends h Extends Extends Student Instructor Residence LectureBuilding offices ArrayList courses. ArrayList - HashMap addEvaluation String course String mark) void + addRoom(String roomName. Integer capacity) void + addGrade(String course. Integer grade) void - printEvaluations void - toString String + calculate Averagec integer + addLectureHall String roomName Integer capacity) vodi + calculate Tota NumberRooms). Integer + ToStringo. String + calculate AvilableCapacityo Integer - toString(): String toStringo 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!