📅  最后修改于: 2022-03-11 14:52:05.889000             🧑  作者: Mango
To sort Short array, use the Arrays. sort() method. Let us first declare and initialize an unsorted Short array. short[] arr = new short[] { 35, 25, 18, 45, 77, 21, 3 }