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
Write a VB.Net console program to check whether a number is perfect or not.
How do you define a read only property in a class module?
What is redim keyword and its use?
What is visual basic.net culture?
What are option strict and option explicit?
What do you mean by serialization and deserialization?
What are jagged arrarys ?
What is econo-jit?
What is static member?
Explain trace in vb.net?
What is an assembly and its use?
How to execute VB.NET PROJECTS,VB6.0 PROJECTS AND write their test cases.Need Reply Urgently
Explain about Visual basic.NET culture?
List the types of authentication?
What is writeline in vb.net?