How to create an array by calling args contructor?
StringBuilder[] sb=new StringBuilder[100];
But if I check sb [0], it is zero. I want sb [0] with sb [99] to be initialized with "".
Error Result:
StringBuilder[] sb=new StringBuilder[100]("");
EDIT: Or should I do this:
for(StringBuilder it:sb) { it=new StringBuilder(""); }
TheCrazyProgrammer
source share