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
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com