Friday, 15 April 2011

How are this() and super() used with constructors?

this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor. 

No comments:

Post a Comment