↑ Grab this Headline Animator

Thursday, June 26, 2008

Different Class Access Modifiers?

Private - can only be used with nested class
public class OuterClass
private class InnerClass

Other: Not related to Access:
Abstract-Abstract classes are usually created to serve as base classes.A class defined using the abstract keyword cannot be instantiated
Sealed-A sealed class is sort of the opposite of abstract.It can be instantiated but cannot serve as a base class.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles