is it possible to create a constructor in Abstract class?
Yes. You can create a constructor in abstract class but it cannot be inherited. You cannot declare abstract constructor because constructor cannot be overridden. You can create public, private and protected constructors for abstract class.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.