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

Define serialization in .net?

1195


What is the use of internal keyword?

976


What are the difference between dispose(), close(), exit(), end()?

896


What is trace in vb.net?

1016


What is DLL HELL in VB.NET

1023


What is the main use of a namespace?

983


What are the different types of Lock available in Visual Basic?

1099


What is strong typing and weak typing?

992


What do you mean by deserialization?

969


What are the different variables in vb.net?

963


What is an application domain? how they get created?

1022


What would you do to remove microsoft visual basic name space?

948


List the types of authentication?

915


Explain the difference between dispose and finalize()?

1109


Explain the difference between import system.data.sqlclient and system.data.oledb?

1013