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

difference between checkbox vs radiobutton??

3031


What do you understand by vb.net?

1083


What do you mean by Redim in VB.NET?

1232


Explain how to send xml file on server using http protocol?

913


What is the difference between a "jagged array" and multidimensional array" ?can anyone show me it practically ?

1027


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

2420


What is the difference between import system.data.sqlclient and system.data.oledb?

1000


What is the exact defination of object?

1072


Explain about Visual basic.NET culture?

1042


Can you please explain the difference between dispose and finalize()?

1152


Name the two main parts of .net?

990


What is the top .net class that everything is derived from?

1109


What are the differences between vb.net and c#, related to oops concepts

1029


How can we store decimal data in .net?

1063


Explain trace in vb.net?

1032