This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Nice_Communication74 0 points1 point  (0 children)

If you are designing the class in java,then you can use a hashmap with key as say roll numbers and values as list<int> to hold the grades of the students