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 the DIfference between Friend and Protected Friend?

Answer Posted / rajeev pradhan

Protected variable will be accessed in inherited class, but
instance variable of class cant access protected variable.

While friend variable will be accessed in inherited class
as well as instance variable of class across the project.

Where we need both functionality we are using protected
friend scope.

Is This Answer Correct ?    25 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is option strict?

1056


Explain an assembly and its use?

1013


Explain about the performance of visual basic?

1025


What is the significance of delegates?

960


What are the objects in asp.net?

1140


Explain code security?

922


i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?

2658


What is portable executable?

1173


Explain the difference between system.string and system.stringbuilder classes?

987


What are the shared variables?

1041


What is code access security?

1189


What are all the differences between dispose and finalize()?

1088


What is internal keyword in .net framework?

1033


Explain option explicit?

1001


What is the difference between convert.tostring and .tostring() method?

1014