Latest DotNet & SQLQuestions
Sunday, 15 March 2009
Can a class be created without a constructor
Question :Can a class be created without a constructor?
Answer :No. In case we dont define the constructor, the class will access the no-argument constructor from its base class. The compiler will make this happen during compilation.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment