How to print the highest mark of a student among 30 students in a particular subject using Java? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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 🇮🇳