Question: Write a Super class interface employee has name and id number. Write manager and labour derived from employee class. Manager class has member data qfunction

Write a Super class interface employee has name and id number. Write manager and labour derived from employee class. Manager class has member data qfunction and qualification and manager allowance & rank Labour class has member data Dailywage, Overtime & grade. What is the use of this keyword?

Step by Step Solution

3.40 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The keyword this is used in Java to refer to the current object When used within an instance method or a constructor this refers to the instance that ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!