Skip to content
#

sname

Here is 1 public repository matching this topic...

Create a class named „Worker‟ having the following members: Sname, Sage, Sphone number ,Saddress, Ssalary.It also has a method named 'displaySalary' which displays the salary of the members. Two classes 'Employee' and 'Manager' inherit the „Worker‟ class. The 'Employee' and 'Manager' classes have data members 'Work specialization' and 'departmen…

  • Updated Feb 28, 2021

Improve this page

Add a description, image, and links to the sname topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sname topic, visit your repo's landing page and select "manage topics."

Learn more