public class StringTest
{
public static void main(String[] arguments)
{
String s1 = "abc";
String s2 = "123";
int s1Len = s1.length();
int s2Len = s2.length();
for(int temp1 =0;temp1 < s1Len;temp1++)
{
for(int temp2 = 0;temp2 < s2Len;temp2++)
{
char ch1=s1.charAt(temp1);
System.out.print(ch1);
char ch2=s2.charAt(temp2);
System.out.println(ch2);
}
}
}
}