← BYTES
Java·Starter·Ref: 9.1.3
Which method should be overridden to provide a custom string representation of an object?
Have a question about this video? Mention reference 9.1.3 when you contact us.
a.toString()
b.hashCode()
c.equals()
d.clone()
toString() is called implicitly when an object is printed or concatenated, and overriding it customizes that output.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES913#Java