Methods in sub/super-classes
y= new VIP(�Perkins�, 1983, 90000, 1000);
y.getName() refers to method getName of its superclass, Employee. This is because getName is not defined in VIP.
y.getBonus() refers to method getBonus of VIP. This is because getBonus is defined in VIP.
y.toString() refers to method toString of VIP. This is because toString is defined in VIP.
Method toString of superclass Employee has been overridden in class VIP.