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 protected and protected internal?

Answer Posted / lakshmi harathi

Protected: This also allows a class to hide its member
var. and member func. from other class objects and
function, except the child class. it becomes important
while implementing inheritance.
"it can be accessible into derived class with in the same
application "
"protected members can be accessed within the class and the
derived class"

Protected Internal: it's similar to Protected access
specifier, it also allows a class to hide its member
variables and member function to be accessed from other
class objects and function, excepts child class, within the
application. used while implementing inheritance.

Is This Answer Correct ?    9 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ienumerable t in c#?

816


What is an assembly qualified name? Is it a filename? How is it different?

882


Explain the difference between proc. Sent by val and by sub?

878


What is a float?

856


What is the difference between firstordefault and first?

851


Can we write class inside a class in c#?

902


What does the initial catalog parameter define in the connection string?

871


Is stringbuilder better than string?

863


What is the object class in c#?

907


What is orm in c#?

893


What is difference between events and delegates?

891


What is the namespace for the thread class?

888


What is delegates and events?

865


Why do we need ienumerable in c#?

857


What is exe in c#?

864