Question: 2 ( a ) Write a java program for employee details using class and Encapsulation to get empid, name, salary, PF and HRA. Find total
a Write a java program for employee details using class and Encapsulation to get
empid, name, salary, PF and HRA. Find total salary for employees.
Note: get the values at run time with corresponding objects. Write the sample
output with all the operations.
OR
b Classify how many ways to create a thread. Write all the types with suitable example
with output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
