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
Name some of the keywords used in vb.net?
What are jagged arrays ?
Explain jagged array in vb.net?
Explain and brief about rapid application development tool?
Write a VB.Net console program to check whether a number is perfect or not.
How do you retrieve the customized properties of a .net application from xml .config file?
Explain the difference between thread and process?
How to send xml file on server using http protocol?
What is the purpose of objects present in asp.net?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
Explain option strict?
What is the differences between dataset.clone and dataset.copy?
Explain strong name in .net assembly?
What is econo-jit?
What are the assembly entry points?