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
difference between checkbox vs radiobutton??
What do you understand by vb.net?
What do you mean by Redim in VB.NET?
Explain how to send xml file on server using http protocol?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
What is the difference between import system.data.sqlclient and system.data.oledb?
What is the exact defination of object?
Explain about Visual basic.NET culture?
Can you please explain the difference between dispose and finalize()?
Name the two main parts of .net?
What is the top .net class that everything is derived from?
What are the differences between vb.net and c#, related to oops concepts
How can we store decimal data in .net?
Explain trace in vb.net?