print out an array code example
Example 1: java print array
System.out.println(Arrays.toString(arr));
Example 2: perl print array
# Perl
# syntax
print "@<array-name>";
# example
my @AgesArray = (25, 30, 40);
print "@AgesArray"; # OUTPUT: 25 30 40
Example 3: python print an array
a = [1,2,3,4,5]
print(a)