大家近来帮帮忙!!!!(新手问题)
All class are supported with default constructor, proper constructor, set, get and toString method.
1. create a class “Employee” having id ,name ,gender, and job.
2. create a subclass “Worker” having hours worked, wages per hour. Write getSalary method to salary.
3. create a subclass “SalesMan” having sales and commission percent . Write getCommission method to calculate salary.
4. create a client class “Roll” to have any employee by identifying using menu to print salary details(详细资料).
Input can be random(任意的, 随便的 ), but collect Worker and SalesMan details separately.