What is the difference between this() and super()?
Answer Posted / abc
this() is used to invoke default constructor of same class
And super() is used to invoke constructor of super class.
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Do we need to manually write Copy Constructor?
What is the meaning of course?
Is passing by reference faster?
Can we use a switch statement with strings?
What is object data type?
What is the lifetime and scope of a variable?
What are desktop procedures?
what is the significance of listiterator in java?
What is stringwriter?
Why hashmap is used in java?
What are the access modifiers in java?
What is difference between char array and string?
What is the purpose of final keyword and when to use it?
Explain the JDB in depth & command line.
Can you explain the meaning of aggregation and composition