0 votes
in JAVA by

 What is the difference between this() and super() in Java?

1 Answer

0 votes
by

this() can be used to invoke a constructor of the same class whereas super() can be used to invoke a super class constructor.

Related questions

0 votes
asked Oct 27, 2020 in JAVA by sharadyadav1986
0 votes
asked Oct 22, 2020 in JAVA by sharadyadav1986
...