The toString() method is utilized to return the string representation of the specified value.
Method Definition: def toString(): String
Return Type: It returns the string representation of the specified value.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.