Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

is it possible to use flexgrid in vb dotnet?

9 Answers   Banking, Microsoft, NetBIOS,


Explain how to achieve polymorphism in vb.net?

0 Answers  


How to run a dos command in vb.net?

0 Answers  


What are the objects in asp.net and tell the purpose of those objects

3 Answers   Ascent, CCS, MTBC,


Explain the advantages of migrating to vb.net?

0 Answers  


when a program of vb.net is written in notepad it occupies always 1kb of memory why?

1 Answers  


How do you do multithreading application in VB ?

4 Answers   Satyam,


What is the Difference between Dataset and Datareader?

7 Answers  


What is an arraylist?

0 Answers  


Explain about globalization?

0 Answers  


Explain trace in vb.net?

0 Answers  


How do you declare static variable and how it is declared and what is its lifetime?

3 Answers   Infosys,


Categories