What is the DIfference between Friend and Protected Friend?
Answer Posted / vineeta agarwal
Friends can be accessed by all classes within assembely but
not from outside the assembely.
Protected variables can be used within the class as well as
the classes that inherites this class.
The Protected Friend can be accessed by Members of the
Assembely (Friend) or the inheriting Assembely class
(Protected).
So Friend is not same as Protected Friend
| Is This Answer Correct ? | 22 Yes | 7 No |
Post New Answer View All Answers
What keyword is used to accept a variable number of parameter in a method?
Why is the xml infoset specification different from the xml dom?
What is a preprocessor directive in vb.net?
What are the difference between dispose(), close(), exit(), end()?
What is redim keyword?
What is code security?
What is the main use of a namespace?
Explain namespace?
Explain about rapid application development tool?
What are all the parts of .net framework?
What is the use of console application?
What is the class that allows an element to be accessed using unique key?
What are the shared variables?
What does assert() method do In VB.NET
What is late binding and early binding?