Question: This is JavaScript. Plz only do it if you know it. Createe a class called Residence which can be aggregated into the class Employee Residence
This is JavaScript. Plz only do it if you know it.
- Createe a class called Residence which can be aggregated into the class Employee
Residence
- streetName: String
- cityName: String
- zipCode: String
- province: String
- country: String
** Class Residence should have set/get properties, constructor and following method:
toString() method that returns the above information as a String.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
