Hello, I know when we talk about toString method, it is automatically called when we try to print an object. I also know that if we don't override it, we get a mixture of the class name and a hashcode as input.
So to have a "human readable" thing, we just override the method to the format we want.
What I wanted to know is, is it okay to override the toString method or it's better to declare another method for the printing?
I read that toString method can be used for debugging. Can someone elaborate on that pls, how does this help? This assume we don't override it?