I need help with trying to convert a String of number to a Integer Array. I will then be adding the to Arrays together like any addition problem, but I am having trouble with just getting the string in to the arrays without it outputting jargon.
public static int[] makeArray(String b){
int[]arr = new int[b.length()];
arr[0] = 0;
for (int i = 1; i < b.length(); i++){
arr[i] = Character.digit(b.charAt(i),10);
}
return arr;
}
this is my current output.
Enter First Number: 2135432
Enter Second Number: 1234
[I@48b8f82d + [I@48b8f82d = [I@67ad77a7