What is toString method in Java?

A toString() is an in-built method in Java that returns the value given to it in string format . Hence, any object that this method is applied on, will then be returned as a string object.

Sizin İçin Seçtik  Merkür retrosu hangi burçta 2022?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is toString method in Java?

A toString() is an in-built method in Java that returns the value given to it in string format . Hence, any object that this method is applied on, will then be returned as a string object.

Sizin İçin Seçtik  Merkür retrosu hangi burçta 2022?

Leave a Reply

Your email address will not be published. Required fields are marked *