you are printing out the array (Type: String) itself not the values (Type String). To access a Element of the Array, try something like
System.out.println("Link "+ i+ "-> " +array);
. Second thing is, that you should avoid a second call to
when you already defined a variable for it (array). So in the for loop use the variable.