Other Methods in class VIP
// Yield a string containing datapublic String toString(){ return �VIP� + � � name + � � + pay + � � + � � + bonus + � � + hireDate; }// Change bonus to ppublic void changeBonus(double p)
{ bonus = p; }
Previous slide
Next slide
Back to first slide
View graphic version