Simple Class

Our class will be used to store employee records (each instance of the class defines on employee). Define a class:
  • When an instance is created, set attributes
    • FirstName
    • LastName
    • TelNumber
    • RoomNumber
  • Define one method, DirString, that returns a single string formatted as "LastName, FirstName - Room RoomNumber - TelNumber"
  • Create three employee records (instances) and add them to a list
  • Loop over the list and print the directory (using the method you created)