What are the different access modifier? Explain in detail?
Answer Posted / pushparaj pentakota(anakapalli
public == accessble from any where,no restriction.
private == aceessble only from within the class only.
protected == accessble from same class and child class also
but not from non-child class.it may be within
project or out side of the project also.
internal == accessble only from same class and child class
and non-child class also but within the project
only.
protected internal == accessble from any where except
non-child class of out side of the
project.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile
Define pipelining? : Dot net architecture
if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get
Explain the difference between l1 and l2 cache? : Dot net architecture
Explain dotnet framework ?
what is inheritancy where u required ?
Explain the difference between l1 and l2 cache? : .NET Architecture
Explain about metadata?
where should I put this information then?
State the different levels of exceptional safety?
Explain some of the disadvantages due to microsoft.net?
When do I need to use gc.keepalive?
What is the difference between primary & secondary storage device? : Dot net architecture
How can I create a application?
What is the difference between absolute expiration and sliding-time expiration?