What is the difference between Super and This Keyword?

Answer Posted / chandrasekhar.p

By using super we can refer the super class methods or members.This is used for refer current class members

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the font and fontmetrics classes?

566


What is clustering? What are the different algorithms used for clustering?

583


Why do threads block on i/o?

686


Is the infobus client side only?

614


What is the purpose of the wait(), notify(), and notifyall() methods?

572






Write a program to show synchronization?

694


What is the purpose of the finally clause of a try-catch-finally statement?

561


What is metaspace?

552


Why does the option tag render selected=selected instead of just selected?

680


What is the relationship between the canvas class and the graphics class?

544


Which component handles cluster communication in jboss?

628


Are we allowed to change the transaction isolation property in middle of a transaction?

567


Can I map more than one table in a cmp?

592


How are commas used in the intialization and iteration parts of a for statement?

587


What is the purpose of the notifyall() method?

613