public class Engineer extends Employee { // overriding public double getSalary() { return super.getSalary() * 2; // $80,000.00 / year } }