support@chatgptassignment.com
Create a Scala Program that meets the following requirements
- A Class called Employee
- Employee should extend a class Called Person
- Person contains
- Name
- Contact Info (an email)
- Employee contains:
- Everything Person Contains
- A Salary
- Contact Info (an email and an office number)
- Person contains
- Create a List called directory
- Populate directory with at least 5 Employees
- Loop through directory and print off the name and contain information for every Employee