Difference between this(), super()?
Answer Posted / anil kumar singh
1: 'this' keyword is only use to call to parametic
constructors within the same class.
2: 'super' keyword is use to call to parametric
constructors of base class.
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
Can a list be null in java?
Explain about instanceof operator in java?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What do you know about the garbage collector in java?
In how many ways we can do synchronization in java?
Can we call the run() method instead of start()?
Difference between serialization and deserialization in java?
Which collection is thread safe in java?
What is difference between array and arraylist in java?
What are thread local variables?
What is the difference between notify and notifyall method?
How do singleton patterns work?
How do you allocate memory to object?
What is identifier give example?
What is use of inner class in java?