First,

In main function you call Snowflake.selectionSort(Snowflake.array, 0). If startingIntex has zero value, then index starts with -1 and the array[-1] is called.




for (int index =...