private static String[][] s1 = {
{ "a", "a1" },
{ "b", "b1" },
{ "c", "c1" },
{ "d", "d1" },
}
private static String[][] s2 = {
{ "c", "c1" },
{ "d", "d1" },
{ "e", "e1" },
{ "f", "f1" },
}
Here c,c1 and d,d1 is repeated in those string arrays. How to take that outside and put it in a common string array say s3, and s1 and s2 reuses/inherits it so that it need not be declared in two different places?