What is the difference between this() and super()?
Answer Posted / amarmca84
this() can be used to invoke a constructor of the same class
whereas super() can be used to invoke a super class constructor.
| Is This Answer Correct ? | 91 Yes | 8 No |
Post New Answer View All Answers
How to use Media tracker Class.
What is the declaration statement?
Can we assign the reference to this variable?
What is java ceil?
What is the difference in between cpp and java? Can u explain in detail?
Is a method a procedure?
How to sort numbers in java without array?
What is instance example?
Explain about the interpreter in java?
What are the drawbacks of reflection?
What is the difference between class & structure?
How is a structure different from array ?
How to print nodes of a Binary tree?
How does linkedlist work in java?
What is incompatible types in java?