Computer Science, asked by jaswanthklu, 6 months ago

Question 5:
Create a class which maintains a collection of objects of Student class. Do a multi-level sort of the
collection using the Comparable interface in Java API. The levels of sorting are given below.
Level 1: Descending order of the PIN Code of student’s address
Level 2: Ascending order of the name of student
Level 3: Descending order of the student ID
code must be in java?

Answers

Answered by KeshavKhattar
0

Answer:

┌─┐  ─┐☆

   │▒│ /▒/

   │▒│/▒/

   │▒ /▒/─┬─┐◯

   │▒│▒|▒│▒│

┌┴─┴─┐-┘─┘

│▒┌──┘▒▒▒│◯

└┐▒▒▒▒▒▒┌┘

◯└┐▒▒▒▒┌

Similar questions