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
Define serialization in .net?
What is the use of internal keyword?
What are the difference between dispose(), close(), exit(), end()?
What is trace in vb.net?
What is DLL HELL in VB.NET
What is the main use of a namespace?
What are the different types of Lock available in Visual Basic?
What is strong typing and weak typing?
What do you mean by deserialization?
What are the different variables in vb.net?
What is an application domain? how they get created?
What would you do to remove microsoft visual basic name space?
List the types of authentication?
Explain the difference between dispose and finalize()?
Explain the difference between import system.data.sqlclient and system.data.oledb?