Please create a JAVA program.
Q2 Write a program to create a hashmap of names and ID numbers as key value pair of your nine best friends. Create keys using a for loop. Sort and display the names based on the ID numbers in descending order. Write an optimized code to sort the values and explain briefly why it is optimized.
Please create a JAVA program.
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Please create a JAVA program.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!