// Allison Obourn
// CS 142, Spring 2024
// Lecture 10

// Models secretaries, a worker type who know how to take dictation.

public class Secretary extends Employee {
   
   // constructs a secretary - unlike other job types, secretaries do
   // not keep track of the number of years they have worked at the company
   public Secretary() {
      super(0);
   }
   
	// takes dictation and prints out that dictation
	public void takeDictation(String text) {
		System.out.println("dictation " + text);
	}
}
