toString method
A string representation of this object.
Some classes have a default textual representation,often paired with a staticparse function (likeint.parse).These classes will provide the textual representation astheir string representation.
Other classes have no meaningful textual representationthat a program will care about.Such classes will typically overridetoString to provideuseful information when inspecting the object,mainly for debugging or logging.
Implementation
external String toString();