// Allison Obourn
// CS 142, Spring 2024
// Lecture 9 

// Models marketers who get a higher salary than other 
// employees and can advertise.

public class Marketer extends Employee {

	// outputs advertisment to potential buyers
    public void advertise() {
        System.out.println("Act now, while supplies last!");
    }
    
    // marketers earn 10,000 more than the base employee salary
    public double getSalary() {
        return super.getSalary() + 10000;
    }
}