Hello. I need to know how toString() works. How does toString() manipulate data? Can someone show an example of how toString() is manipulating data and how to get it to do this? Like maybe an example of a program with toString() and the same one without toString() to see how it works.
I have just very basic things in my program, not much content. My professor just wants us to demonstrate that we know how to use toString(). I've looked all over the net and in my book, and no one can explain toString in a way that I can understand.