The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Because all objects extend the Object class implicitly

Posted by Jody Brown on June 21, 2001 at 1:26 PM

> Why in a class that doesn�t extentds an other you put iin the constructor the method "super"?

All objects ultimately are derived from subclasses of the Object class. The call to super() in a class that doesnt explicitly extend another class is making a call to the default constructor in the Object class.

  • reply Pavan Kumar Keely June 27, 2001 at 9:34 AM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us