Computer Science, asked by mohdprince5, 11 months ago

what is different between this() super() and this super

Answers

Answered by Anonymous
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 241189
1

Answer:

There is no difference. They both are same.

Explanation:

Similar questions