What is the DIfference between Friend and Protected Friend?
Answer Posted / rajeev pradhan
Protected variable will be accessed in inherited class, but
instance variable of class cant access protected variable.
While friend variable will be accessed in inherited class
as well as instance variable of class across the project.
Where we need both functionality we are using protected
friend scope.
Is This Answer Correct ? | 25 Yes | 12 No |
Post New Answer View All Answers
What is break mode? What are the options to step through code?
Using VB, how can you change the Mouse Pointer?
What is econo-jit?
When do you use virutal keyword?
What is the difference between c# and vb.net?
Described strong typing
What would you do to remove microsoft visual basic name space?
What are the two main parts of .net?
Name and explain some of the exclusive features which are present in vb?
Explain about the ruby interface generator?
Explain about globalization?
How to view an assembly?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
Name the two main parts of .net?
What are the technology areas that microsoft.net contains?