Difference between this(), super()?
Answer Posted / janet
this() can be used to invoke a constructor of the same
class where as super() can be used to invoke a super class
constructor.
| Is This Answer Correct ? | 53 Yes | 6 No |
Post New Answer View All Answers
Explain a situation where finally block will not be executed?
How do you detect memory leaks?
How to stop a thread in java? Explain about sleep () method in a thread?
What classes of exceptions may be caught by a catch clause in java programming?
How do you remove duplicates in java?
What is the difference between array and array list in java?
What is variable length arguments in java?
What is bitwise complement?
What is a java string?
Does java runtime require a license?
How can you make a class serializable in java?
What package is math in java?
What is the symbol for space?
How do you convert string to int in java?
Can an integer be null java?