整型数组转为字符串

public class Main {
public static void main(String[] args)
{
int n2[] = {1,2,3};
int i;
for(i=0;i<n2.length;i++)
{
System.out.print(String.valueOf(n2[i]));
}

} 

}

    原文作者:Tamako_kaneki
    原文地址: https://blog.csdn.net/weixin_44148646/article/details/89480518
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞