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 the difference between value and reference types?

1002


How do you define a read only property in a class module?

878


What is code security?

951


Tell me how many .net languages can a single .net dll contain?

902


Explain managed code?

901


Explain how can we remove handlers at run time?

951


Write a program to find all text files in a logical drive and return the count of the number of files?

2658


Which control is an example of an object in vb net?

6889


How do you call a stored procedure in Visual Basic?

1061


What is the exact defination of object?

958


Write the role of new keyword?

1083


Described strong typing

902


What does assert() method do In VB.NET

929


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

944


What is the Advantage of vb.net over vb

945