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
How do you script this scenario in QTP using VB? Verify XML attributes in XML message against XSD and data mapping of fields to Oracle tables? Verify data in XML to data in a defined table?
What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?
What is redim keyword and its use?
Which namespace are used for accessing the data?
What is the advantages of VB.NET?
Name the two main parts of .net?
source code for how to login a vb.net application ?
Name some different types of control?
what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.
How does vb.net achieve polymorphism?
What is the advantage of using system.text.stringbuilder over system.string?
What does assert() method do In VB.NET
Explain an assembly?
Which classes a dll can contain?
Explain jagged array in vb.net?