It's not a secret anymore!
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Reg Constructors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Reg Constructors" Watch "Reg Constructors" New topic

Reg Constructors

Nousheed Mohammed

Joined: Mar 30, 2007
Posts: 6
Will constructors be inherited in the sub class?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3151

Nousheed Mohammed wrote:Will constructors be inherited in the sub class?

No the constructors are not inherited but you can reference the Super class constructors using the keyword- super(<arg list>). You can look up K&B to read about Inheritance and Overriding concepts.

Mohamed Sanaulla | My Blog
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Reg Constructors
jQuery in Action, 3rd edition