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
08 Nov 2023 11:29 AM 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