Calling super()

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-04-13T20:14:00Z Indexed on 2010/04/13 20:23 UTC
Read the original article Hit count: 181

Filed under:

When do you call super() in Java? I see it in some constructors of the derived class, but isn't the constructors for each of the parent class called automatically? Why would you need to use super?

© Stack Overflow or respective owner

Related posts about java