Home Tutorialhelp Comment Diff between super() and this()

 
 

Comment

mohit
Diff between super() and this(),
December 9, 2009 at 11:14 PM

'super' and 'this' both are keywors in JAVA. Using 'super' means calling to the super class method whereas 'this' means calling to the sub(same) class method.
View All Comments | View Tutorial
Related Tutorial and Articles

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.