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

Can you create partial delegates and enumerations?

1023


Can we inherit class that contains only one private constructor?

957


Explain what is the smallest unit of execution in .net?

943


Are tuples mutable c#?

946


What's the c# syntax to catch any possible exception?

1066


Is it possible to have different access modifiers on the get/set methods of a property?

1031


What do you understand by 'access specifiers' in C#?

898


Why c# is type safe?

935


Can a abstract class have a constructor?

885


How can i Spawn a Thread

907


How do you sort a list in c#?

861


What is desktop GUI application?

970


What is the difference between yield and return?

886


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

958


What is int16?

930