Problem Statement
Jasmine Girls Hostel wants you to create a small application for them to assign rooms to members. You need to implement the
classes based on the class diagram and description given below.
Room
roomNo: int
- capacity: int
a roomCounter: int
Room0
getRoomNo : int
.getCapacity: int
setCapacity(capacity. int): void
._getRoomCounter(: int
setRoomCounter roomCounter: int): void
<
C Admin
asign Room(rooms Roomſ), member: Member); void
Member
a memberld: int
name String
room: Room
Member(memberid:int, name: String)
getMemberldo: int
setMemberld(memberld: int): void
getName(): String
setName(name: String): void
getRoom(): Room
setRoom(room: Room): void
Member
Answers
Answered by
1
Explanation:
setRoomCounter roomCounter: int): void
<
C Admin
asign Room(rooms Roomſ), member: Member); void
Member
a memberld: int
name String
room: Room
Member(memberid:int, name: String)
getMemberldo: int
setMemberld(memberld: int): void
getName(): String
setName(name: String): void
getRoom(): Room
setRoom(room: Room): void
Member
Answered by
6
Answer:
wth is this
Similar questions