This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes can anyone expain me the keyword super in detain.. ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "can anyone expain me the keyword super in detain.. ?" Watch "can anyone expain me the keyword super in detain.. ?" New topic
Author

can anyone expain me the keyword super in detain.. ?

varinder mahajan
Ranch Hand

Joined: Jun 11, 2008
Posts: 47
can anyone expain me the keyword super in detain.. ?


Beat the world,if you can.......
vittal muvva
Greenhorn

Joined: Sep 01, 2008
Posts: 1
If your method overrides one of it's superclass methods,
you can invoke the overridden method through the use of the keyword super. You can also use super to refer to a hidden field
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

If you know what 'this' keyword do , then 'super' keyword do what 'this' parents do !

'super' held the reference of immediate base class !

This code helps



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can anyone expain me the keyword super in detain.. ?
 
Similar Threads
stacl vs. heap
primitives
Array
Difference between == and .equals
drawing table not using jtabel