[Solved] Java error :- “no suitable method found for sort(Student[],j)”


You should change Collections.sort(array, new j()); to Arrays.sort(array, new j());

solved Java error :- “no suitable method found for sort(Student[],j)”