Does abstract class has a constructor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aswal
    New Member
    • Aug 2013
    • 38

    Does abstract class has a constructor

    Does abstract class has a constructor.
    If yes then why can't we instantiate it
  • Vikas Rana
    New Member
    • Jan 2016
    • 3

    #2
    Yes abstract class has constructor.

    Comment

    • aswal
      New Member
      • Aug 2013
      • 38

      #3
      why can't we instantiate it. And what is the purpose of it.?

      Comment

      • Luuk
        Recognized Expert Top Contributor
        • Mar 2012
        • 1043

        #4
        Because:
        ...Abstract classes may not be instantiated...
        and, to answer you next question about abstract classes
        see:

        Comment

        Working...