Jun 16, 2019 in JAVA
Q: Difference between this() and super() in java ?

this() is used to access one constructor from another with in the same class while super() is used to

access superclass constructor. Either this() or super() exists it must be the first statement in the

constructor.

Related questions

0 votes
Jun 16, 2019 in JAVA
...