5.2.8: Last Element in Array code example Example: last 10 element of array System.out.print(Primes1.get(Primes1.size() - 1) + " ");