What is friend and protected-friend access specifier in
vb.net?



What is friend and protected-friend access specifier in vb.net?..

Answer / 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

More VB.NET Interview Questions

Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.

0 Answers  


Can you please explain the difference between vb and vb.net?

0 Answers  


What is normal jit?

0 Answers  


What is an assembly and its use?

0 Answers  


Which is the base class for all the classes in .net framework?

0 Answers  






Can you please explain the difference between authentication and authorization?

0 Answers  


code for export,import,save,update,delete ?

1 Answers  


What is the Difference between Web User Control and Web Custom Control?

6 Answers   Benchmark,


How to create Crystal Report in vb.net with coding

1 Answers   A3Logics, Ascent, TCS,


How to create a constant in vb.net?

0 Answers  


what is delegates

2 Answers  


hello! I am developing software in vb6 and vb.net separately which i need to generate barcodes e.g i have a string "182346-u",so the problem is that how to generate barcode from this type of string can any body help me please thanks regard !

2 Answers  


Categories