HOW ARE THIS() AND SUPER() USED WITH CONSTRUCTORS?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
Java 
 973  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    How are this() and super() used with constructors?

    this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!