Override the class method

toString () method allows override of the class class method returns a string displayed directly.

 

Guess you like

Origin www.cnblogs.com/superxixi/p/11526288.html