Suppose emp is one class that we have to create, and have to add empname, empid as member of this class, what should be the code for that ? how we can calculate the salary for emp ? pl explain steps.pl comment

Questions by pghare

Showing Answers 1 - 1 of 1 Answers

anagha

  • Aug 9th, 2006
 

we have to add empname and other required info as property through property let propertget method and calculate_salary as a public method.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions