+ 2

What is the difference between"this" keyword and "super" keyword in Java?

27th Sep 2017, 12:31 PM
Suraj Prashar
Suraj Prashar - avatar
2 odpowiedzi
27th Sep 2017, 1:31 PM
Ipang
+ 3
this refers to the current object instance. super refers to the current object instances super class.
27th Sep 2017, 3:32 PM
Rrestoring faith
Rrestoring faith - avatar