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
0
Answer:
┌─┐ ─┐☆
│▒│ /▒/
│▒│/▒/
│▒ /▒/─┬─┐◯
│▒│▒|▒│▒│
┌┴─┴─┐-┘─┘
│▒┌──┘▒▒▒│◯
└┐▒▒▒▒▒▒┌┘
◯└┐▒▒▒▒┌
Similar questions
Physics,
3 months ago
Geography,
6 months ago
Computer Science,
6 months ago
English,
11 months ago
Social Sciences,
11 months ago