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
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What is better - 'bit-shift a value' or 'multiply by 2'?
What are disadvantages of java?
What is meant by vector class, dictionary class, hash table class, and property class?
What is contract between hashcode and equal method?
What is a marker interface?
What do you mean by inner class in java?
What is the string function?
what is mutual exclusion? : Java thread
What is tcp and udp?
How variables are declared?
Why main() method is public, static and void in java ?
Why we use multi threading instead of multiprocessing?
Difference between this() and super() ?
What is the difference between double and float variables in java?