正在加载图片...
Employee class This class contains three private attributes name hourly Wage hour Worked It also contains the following public methods Methods to access the values of the attributes getName, getHourly Wage, and getHours Worked Methods to modify the values of the attributes setName set hourly Wage, and setHours Worked a method to obtain the employee's earnings getEarnings10 Employee Class • This class contains three private attributes: – name – hourlyWage – hourWorked • It also contains the following public methods: – Methods to access the values of the attributes: • getName, getHourlyWage, and getHoursWorked – Methods to modify the values of the attributes: • setName, setHourlyWage, and setHoursWorked – A method to obtain the employee's earnings: • getEarnings
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有