what is different between this() super() and this super
Answers
Answered by
2
in java. super() as well as this() both are used to make constructor calls. super() is used to call Base class's constructor(i.e, Parent's class) while this() is used to call current class's constructor. super() is use to call Base class's(Parent class's) constructor.
Answered by
1
Answer:
There is no difference. They both are same.
Explanation:
Similar questions