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 do you know about machine.config file ?
What is cache coherency and how is it eliminated? : .NET Architecture
Explain the purpose of cache? How is it used? : Dot net architecture
Explain cache memory? : .NET Architecture
how to delete the record using data reader
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile
Explain the purpose of cache? How is it used? : .NET Architecture
What is the use of TPL DATAFLOW?
Explain about metadata?
how to create applications by using Visual Studio 2012?
Define domestic architecture artifacts? : Dot net architecture
What are the major differences between services and web services?
What is the mesi? : .NET Architecture
What is a service class?
What is Com Callable wrapper?when it will created?