Tennis张帅

优质科普作者

作者介绍

问答领域知识达人
java如何把int转换为String

方法一:使用`Integer toString()`方法`Integer`类提供了一个静态方法`toString(int i)`,可以直接将整数转换成字符串形式。这种方法简单 浏览全文>>