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 .net viewstate?
How is the using() pattern useful? What is idisposable?
question related to table havi colspan and row span
HttpHendler and HttpModules
I want to create a project like google maps how can we do that with atlas?
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
What are .net mobile controls features? : Microsoft dot net mobile
Define pipelining? : Dot net architecture
What is IL code, CLR, CTS, GAC & GC?
Explain write back and write through caches? : .NET Architecture
Explain a .net mobile example with details? : Microsoft dot net mobile
How cache is used? : Dot net architecture
Which software is used for .net programming?
Explain the difference between primary & secondary storage device? : .NET Architecture
Explain the types of memory management? : Dot net architecture