public class Test { void test(StringBuilder[] sbs, int i, int j, String s) { int a = sbs[i].length(); int b = sbs[j].length(); } }