## Find second smallest element in an array of integers (java / example)

Given an array of integers in java. Print second smallest element in an array (in single iteration). We have already discussed to find out second largest element in an array of integers. Example – find second smallest element in an array of integers (java). Example 1: Given an input array {2, 4, 6, 8, 10, 12}. Smallest element… Read More »