What is the purpose of overriding toString() method?

Correct Answer: we can override tostring() method to return String representation of our object data

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion