Alternatively, how can I restrict the functionality that they can use the functionality, but they cannot copy the code.
Please help.
3 answers
Raj,
1) Create a Managed Package. or
2) Remove rights from developer's profile "Customize Application" and "View Setup and Configuration".