How to print the highest mark of a student among 30 students in a particular subject using Java? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to print the highest mark of a student among 30 students in a particular subject using Java?

9th May 2020, 6:37 AM
Ramya T
2 Réponses
+ 1
Store the marks of 30 students in an array and find the greatest element of array.
9th May 2020, 6:38 AM
Souptik Nath
Souptik Nath - avatar
0
Collections has predefined sort method. So you can use it, just store in collection, and sort it..
9th May 2020, 8:31 AM
Jayakrishna 🇮🇳