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 are the advantages of migrating to vb.net?
How can we remove handlers at run time?
how many server control present in .net
Explain about branching logic control in vb.net?
What is the role of new keyword?
Which namespace are used for accessing the data?
What is the purpose of objects present in asp.net?
What is a literal control?
Explain the difference between system.string and system.stringbuilder classes?
What is portable executable?
What is normal jit?
What are the difference between dispose(), close(), exit(), end()?
What is intermediate langauge?
Which properties are used to bind a DataGridView control?
Explain the difference between c# and vb.net?