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
what is interface and when it is used?
Explain about the keyword must inherit?
Name the tool which can convert visual basic old version to .net compatibility version?
What are the differences between c# and visual basic.net?
Name the two main parts of .net?
What are option strict and option explicit?
What is multiple form in vb?
Can we use Vb.Net and C# language simultaneously in one .Net application?
How a base class method is hidden?
What is stack used for in vb. Net?
What is the purpose of objects present in asp.net?
what is difference between web.config and machine.config and where it will be ?
What is branching logic control in VB.NET?
What is an assembly and its use?
Which properties are used to bind a DataGridView control?