What are class access modifiers



What are class access modifiers..

Answer / kirti

Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:

� Public - Access is not restricted.

� Protected - Access is limited to the containing class or types derived from the containing class.

� Internal - Access is limited to the current assembly.

� Protected inertnal - Access is limited to the current assembly or types derived � from the containing class.

� Private - Access is limited to the containing type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What are actions in mvc?

0 Answers  


what is dot net? what is use dot net? what is benifit of dot net?what is vb dot net? what is ado dot net? what is c#?

0 Answers  


Explain Model, view and Controllers in Asp.Net MVC?

0 Answers  


Can we create the web service in windows application?

3 Answers  


In which assembly is the mvc framework defined?

0 Answers  






What is net framework 3.0 ?

0 Answers  


what is lazy loading in entity framework?

0 Answers   Microsoft,


What operating systems will the .net framework 3.0 be available for?

0 Answers  


What are the advantages of mvc over asp.net?

0 Answers  


What is conceptual model? : Entity framework

0 Answers  


What are Validation Annotations?

0 Answers  


Explain RenderBody and RenderPage in ASP.Net MVC?

0 Answers  


Categories