Difference between this(), super()?

Answer Posted / bindhu solomon

'this' is a pointer points to the object of the methods
invokes. super() is used to invoke the super class member
function.

Is This Answer Correct ?    17 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Static and Dynamic Variables? Differentiate them.

600


What is a functional interface?

545


What is class forname used for?

538


what is a thread pool in java and why is it used?

527


Is null a value?

558






Define canvas?

564


What are void methods?

568


Mention the default values of all the elements of an array defined as an instance variable.

519


How do you reverse sort a list in java?

507


What is method reference in java?

559


extending thread class or implementing runnable interface. Which is better? : Java thread

561


Explain about the performance aspects of core java?

549


what is difference betweem home interface and remote interface?

2109


Why is java logo a cup of coffee?

620


What is the difference between stringbuffer and stringbuilder?

573