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 is an assembly and its use?
what is difference between web.config and machine.config and where it will be ?
What is a static variable?
What is redim keyword and its use?
Explain redim keyword?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
List the two main parts of .net?
Explain jagged array in vb.net?
Explain the use of serialization and deserialization?
What is the differences between dataset.clone and dataset.copy?
Explain code security?
Explain option strict?
What are the assembly entry points?
Explain convert.tostring and i.tostring method?
What are all the differences between dispose and finalize()?