Thursday, March 12, 2009

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

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

No comments: