The key
word this is used to refer any members in the current. Like
this.empno = 10; this.print(); super key word is used to refer or call any thing i the parent class. Suppose you have overloaded a method and you want the super class version to be called first and the overrided version should be executed then you use 'super'
The very good example for this is calling the super class constructors from the child class constructor.
Ps :- Pleae try to post in english and avoid words like Bcoz , plz etc .. as this forum is for international readership
[ October 17, 2005: Message edited by: Srinivasa Raghavan ]
[ October 17, 2005: Message edited by: Srinivasa Raghavan ]
Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified