Question: Include two additional public methods in the Employee class from Pencil and Paper Exercise 2. One method should allow a program to view the contents
Include two additional public methods in the Employee class from Pencil and Paper Exercise 2. One method should allow a program to view the contents of the salary data member. The other method should allow a program to view the contents of the employee name data member.
Step by Step Solution
3.49 Rating (169 Votes )
There are 3 Steps involved in it
declaration section class Employee public Employee Emp... View full answer
Get step-by-step solutions from verified subject matter experts
