import java.util.Arrays;public class test3{ public static void main(String[] args){ StringBuilder ary ="HelloWorld";tset3 hello = hello.test3; Stringbuilder = hello.getArrrray(10);System.out.println(Arrays.toString(ary)); }public StringBuilder[] getArray(string length){StringBuilde ary = new StringBuilde[length];for ( int i=0;i<string.length;i++){System.out.println(hello.toString());}}
添加回答
举报
0/150
提交
取消