End of preview
Upload your study docs or become a member.
Unformatted text preview: } /** * Overridden calcTuition method - calculates tuition of OnlineStudends based on TuitionConstants */ @Override public void calcTuition(){ double t = getCredits() * TuitionConstants.ONLINE_CREDIT_RATE; if(getTechFee() == true){ t = t + TuitionConstants.ONLINE_TECH_FEE; } setTuition(t); return; } /** * Accessor that returns mTechFee boolean */ public boolean getTechFee(){ return mTechFee; } /** * Mutator for setting mTechFee boolean */ public void setTechFee(boolean pTechFee){ mTechFee = pTechFee; } }...
View
Full Document