• Post Reply Bookmark Topic Watch Topic
  • New Topic

contructor  RSS feed

 
prashant panigrahi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why constructor can't be abstract/ final/ static
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you put some effort to read about your query? I would suggest you to SearchFirst for lot of related queries.
 
Ifteqar Ahmed
Ranch Hand
Posts: 85
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because.....

Constructors are not inherited
Constructor is called automatically when an instance of the class is created
Constructor cannot be overridden.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!