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 difference between string, string builder, and string buffer in java?

551


How can constructor chaining be done by using the super keyword?

612


In a class implementing an interface, can we change the value of any variable defined in the interface?

553


What is javac used for?

512


Difference between serialization and deserialization in java?

650






What are different access specifiers in java?

557


Is singleton thread safe in java?

545


Explain wrapper classes in java?

524


What variables are stored in stack?

525


What are the loops in java?

520


What is slash r?

539


Is null a string in java?

552


what do you mean by stream pipelining in java 8? Explain

531


What are some examples of variable costs?

486


How to convert string to byte array and vice versa?

582