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 is Assemble

4 Answers   Microsoft,


mention in what all scenarios entity framework can be applicable?

0 Answers   Microsoft,


What is the use of display modes?

0 Answers  


How do I use partial view?

0 Answers  


Mention what is the difference between “ActionResult” and “ViewResult” ?

0 Answers  






Is .net framework backwards compatible?

0 Answers  


What is mvc entity framework?

0 Answers  


What are class access modifiers

1 Answers  


Explain how you can send the result back in JSON format in MVC?

0 Answers  


How do I define my own code group

1 Answers  


give the feature of .net2.0 over .net1.1

6 Answers  


What does 'managed' mean in the .NET context

1 Answers  


Categories