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

Posted on    October-25-2010 12:00 AM

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

Pushpendra Singh

Total Post:241

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