Question: using python3: Program 14: Class with Private Attribute Collection of Objects: modRoom.py Step 1: Create a class called Room as indicated by the UML shown

using python3:

Program 14: Class with Private Attribute Collection of Objects: modRoom.py Step 1: Create a class called Room as indicated by the UML shown below: Student -length: integer width: integer -height integer -roomNum: integer -roomType: String -room Capacity: integer > Room Roster() +add Room (room obj) void +delRoom (roomObj): integer eturns +1 if successful, -1 if unsuccessful +str String +findRoom (roomNum): Room Object or -1 if not there +findRoomsWithCapacity (tmpCapacity integer): List of Room Objects (-1 if none Step 4: Add code to the testRoomModule.py to THOROUGHLY test the RoomRoster class. Make sure to LABEL the output so that it's easy to see what is being tested

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!