// Arup Guha
// 4/5/07
// Class for Spring 2007 COP 3330 Assignment #5

public class ChiefExecutiveOfficer extends Management {

	// Bonus for the CEO.	
	final protected static int BONUS = 100000;
	
	// Works just like the Management constructor.
	public ChiefExecutiveOfficer(String f, String l, int daysv, double sal) {
		super(f,l,daysv,sal);
	}
	
	// Returns the bonus for the current object which is 0 if he does not
	// get a bonus, or 100000 otherwise.
	public int bonusval() {
		if (getbonus)
			return ChiefExecutiveOfficer.BONUS;
		else
			return 0;
	}
	
}