What is the difference between this() and super()?
Answer Posted / ajay yadav
super() immediately refers to the base class constructor to
initialize the variable.
this() refers to the current object.
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is stack class in java?
What are the basic interfaces of java collections framework?
What is hashing principle in java?
What is the latest java version?
What is public static void main?
What is java lang string?
Explain a few methods of overloading best practices in java?
what is meant by HQL?
what are different ways in which a thread can enter the waiting state? : Java thread
What is difference between iterator access and index access?
why using interface interface ?
What are passing parameters?
What is complexity and its types?
What is the difference between assignment and initialization?
Can we override compareto method?