Answer Posted / sreekar reddy vanguru
Mainly this() is used to avoid hidding the field varaibles
by the varaibles of the methods which are having same name..
super() is used to invoke the super class from sub class...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which collection is sorted in java?
Explain public static void main(string args[]) in java.
What is overloading and overriding in java?
How to make a write-only class in java?
What is the purpose of static keyword in java?
What package is math in java?
What is the maximum size of list in java?
Objects or references which of them gets garbage collected?
What is a java developer salary?
What is parameter example?
I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?
What is the range of the short type?
What is a treemap in java?
When is finally block not called?
Why java is made?