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 are the two parts of a conditional statement?
Why set is used in java?
Explain the different forms of polymorphism?
What is jit and its use?
What is the difference between multiple processes and multiple threads?
How do you use equal in java?
Is java an open source?
What is the full name of java?
What is a java developer salary?
Is static variable stored in heap?
What is java command?
What steps are taken when the OS shifts from one-thread execution to another?
Explain the difference between arraylist and linkedlist in java?
What do you mean by composition in java?
Why are there no global variables in java?