How are this() and super() used with constructors? Ans. this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor. - Study24x7
Social learning Network
07 Dec 2023 01:12 PM study24x7 study24x7

How are this() and super() used with constructors? Ans. this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles