Sunday 22 February 2015

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