The following are the
attributes and methods for the Employee class:
·
Attributes:
1. Empcode
of the integer type
2. Name
of the string type
3. BirthDate
of the data type
4. Address
of the Address class type
·
Methods:
1. GetEmployeeDetails()
2. SetEmployeeDetails()
The following are the
attributes and methods for the Address class:
·
Attributes:
1. HouseNumber
of the integer type
2. StreetNumber
of the string type
3. City
of the string type
4. Zipcode
of the integer type
·
Methods:
1. GetAddress()
2. SetAddress()
|
|