Tuesday, March 10, 2009

How are this() and super() used with constructors? (CoreJava) Discuss in Detail

Question :How are this() and super() used with constructors? (CoreJava) Discuss in Detail
Answer :this() is used to invoke a constructor of the same class. super() is used to
invoke a superclass constructor.

No comments: