Question: please I want the code in java Question.3a (16 Mtarke) Write a complete Anve program accoriling to the following specinicationt the progy am involves three

please I want the code in java
Question.3a (16 Mtarke) Write a complete Anve program accoriling to the following specinicationt the progy am involves three classes (Person, Appart and Room) The following diagram deplcts the relstionuhilps between the classes. Part 1 Room Class: (3 points) Atributes: String name - Methods Constructor with parameters Copy Constructor Getter and setter Appart Class: (6.5 points) - Attributes: Int ID - Methods Constructor with parameters Copy Constructor Addrooms (..):itaddstheroomr to the Appart, it returns 1 if the room is added otherwise it returns 1 DisplayAppart(): it displays the apartment information rson Class :( We suppose that the Constructor with parameters is implemented) ( 4 points) Attributes: String name Methods Addapprt(...): it adds the Apprat A to the person, it returns 1 if the room is added otherwise it returns 1 DisplayAllAppart(): it displays all apartments for a person
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
