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

Q

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

✍: Guest

A

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

2012-08-01, 2297👍, 0💬