Home > DeveloperSection > Interviews > What is the difference between this() and super()?:

Posted on    October-25-2010 12:00 AM

 Java Java 
Ratings:
 1 Answer(s)
  890  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    November-08-2010 1:00 AM

this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.

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

Follow MindStick