for example i have given a mixed type array as follows , i'm trying to print the each and every element in the array, im able to print Array of Arrays but this one is very tricky .
val r = Array(1,2,3,4,Array(2,3,45,6,Array(4,4,6,7)))
i need to print this nested one.