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
placement papaers of spring computing technology
Explain naming conventions for packages?
What are different types of classloaders?
What will happen to the exception object after exception handling?
Is string a class in java?
How many functional interfaces does java 8 have?
Explain reverse a linked list recursive java solution?
What is a line break?
Explain different ways of creating a thread?
What is boolean flag in java?
Write a program to solve producer consumer problem in java?
Why convert an applet to an application?
What is the purpose of nested class in java?
Is overriding possible in java?
Can interface be private in java?