Does Java has this()
?
If so, what's the difference between this
and this()
?
this
is reference to current instance. this()
is call to default constructor. super()
is explicit call to default constructor of super class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With