Define the scope of Public, Private, Friend procedures?

Questions by Beena   answers by Beena

Showing Answers 1 - 3 of 3 Answers

Sanjay Kumar Dalai

  • Dec 4th, 2006
 

Dear All,when we declare private procedure that procedure can be access with in the current module.It can't be access out side the module.private key word use for data hiding purpose.In case of Friend key word,we can access the procedure through out the current project.Public is fully diiferent from Private & Friend.It can be access out side the project & Current Project.Out Side project means,if we declare create dll,the type library of dll will contain that public procedure as a method of dll but not private & Friend.

       

  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