What are the access modifiers available? - DOT.NET

What are the access modifiers available?

There are five different access modifiers:

public: It specifies that it can be accessed by anyone.
private: Private declared variables, classes or functions can be accessed only by the member functions. No one from outside the class can access them.
protected: This access specifier is useful in a hierarchy wherein an access can be given only to the child classes.
internal: These limit an access only within an assembly. Its is similar to a friend function of C++.
protected internal: These limit the access within the assembly and to the child classes in the hierarchy
What is the default access modifier for the member? - DOT.NET
DOT.NET - Default access modifier for the member....
What are design patterns? Define basic classification of patterns.
A design pattern in Software is used to solve similar problems that occur in different scenarios. A design pattern is not a design that..
What is the difference between Factory and Abstract Factory Patterns?
The difference between Factory and Abstract Factory Patterns lies in object instantiation......
Post your comment