What is friend and protected-friend access specifier in
vb.net?
Answer Posted / viramgama parth
Friend Variables declared as Friend can be accessed from the outside world but only from other
classes of the assembly, which are classes that make up the application. You cannot declare a Friend
variable inside the method declaration space and implementation.
·
Protected Friend Variables declared as Protected Friend are afforded the same protection as
Friend access. The difference, however, is that you can also access these variables from derived
classes. You cannot declare a Protected Friend variable inside the method declaration space and
implementation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is the base class for all the classes in .net framework?
What is difference between metadata and manifest?
Why do we use byref keyword in vb.net?
How does vb.net achieve polymorphism?
What is internal keyword in .net framework?
What are the advantages of vb.net and c#?
Using VB, how can you change the Mouse Pointer?
Name the tool which can convert visual basic old version to .net compatibility version?
What is normal jit?
Tell me how many .net languages can a single .net dll contain?
What is the strong name in .net assembly?
What is the use of assembly?
Explain redim keyword?
How to create a constant in vb.net?
What is the purpose of objects present in asp.net?