What is the difference between this() and super()?
Answer Posted / ajay yadav
super() immediately refers to the base class constructor to
initialize the variable.
this() refers to the current object.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
How variables are stored in memory?
What is an example of a boolean?
What is widening and narrowing in java? Discuss with an example.
What is the final class modifier?
What is the purpose of void?
Is final static java?
What is not object oriented programming?
Write a java program to count the number of words present in a string?
Explain about class in java?
What is a parameter in a function?
Why enumeration is faster than iterator?
What is null mean in java?
What technique is carried out to find out if a particular string is empty?
What is args length in java?
What are the different ways to handle exceptions?