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

Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?

1 Answers  


Explain bundle.config in mvc4?

0 Answers  


what is linq to entities?

0 Answers   Microsoft,


What is representational state transfer (rest) mean?

0 Answers  


Which is the base class for .net Class library?

12 Answers   Sonata, TCS,






exe abrevatiom

5 Answers   IBM,


What is Attribute Routing in ASP.Net MVC?

0 Answers  


mention what is the difference between ado.net and classic ado?

0 Answers   Microsoft,


How do you specify comments using razor syntax?

0 Answers  


What are the types of assemblies and where can u store them and how ?

11 Answers   Accenture, BirlaSoft, IBM,


About .NET Framework ?

5 Answers   MMTS,


Describe the gac in the .net framework.

0 Answers  


Categories