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
What are the advantages of inner classes?
What happens if an exception is throws from an object's constructor?
Why does it take so much time to access an applet having swing components the first time?
Is object a data type?
Give a practical example of singleton class usage?
Where is const variable stored?
Can we execute a program without main?
What is an empty class? What functionality does it offer in Java?
What are alternatives to java serialization?
Why is stringbuffer thread safe?
Can constructor be static or final?
Can we override private constructor in java?
Why are generics used?
What is the use of set in java?
What is the difference between throw and throws keywords?