Question :
Write a method that returns the index of the second smallest element in an array of integers. If the number of such elements is greater than 1. return the second smallest index.
Use the following header:public static int index of seconds sma11eststenent tint array