Computer Science, asked by Anonymous, 11 months ago

funtion of tostring( )...​

Answers

Answered by carole46
0

to break or select a certain part of a string

If you print any object, java compiler internally invokes the toString() method on the object. So overriding the toString() method, returns the desired output, it can be the state of an object etc. depends on your implementation

hope it helps you

Answered by Kaustav26
0

Answer:

The toString() function in Javascript is used with a number and converts the number to a string. It is used to return a string representing the specified number object. The toString() function is used with a number num as shown in above syntax using the '.' operator.

Similar questions