Home > DeveloperSection > Interviews > How are this() and super() used with constructors?

Posted on    August-26-2014 12:05 AM

 Java Java 
 1 Answer(s)
  785  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-26-2014 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick