What is the difference between this() and super()?
Answer Posted / amol
this() is used to call another constructor of current class based on the argument list....
super() is used to call the constructor of another class or parent class based on the argument list....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can static methods be inherited?
What is a final class ?
What are computer functions?
What is the use of volatile in java?
can java object be locked down for exclusive use by a given thread? : Java thread
What is the purpose of stub and skeleton?
What is java algorithm?
Why java is made?
What do you mean by access modifier?
Explain about anonymous inner classes in java?
What about features of local inner class?
Differentiate between array list and vector in java.
Explain notify() method of object class ?
why are there separate wait and sleep methods? : Java thread
Why is java not 100% pure oops?