File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 3152

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
I agree. Here's the link:
subject: Reg Constructors
It's not a secret anymore!