+ 3
Please what is the error in my code
The function which is not working is getMoyenne() Which should to get the notes of etudiant and then put them in a hash map. https://code.sololearn.com/c2A9A0a12a16/?ref=app
4 Answers
+ 2
I'm not a Java programmer, but you may have forgotten to import the libraries for Map and HashMap
+ 2
@Angelo
no the code is executed in eclipse but the function getMoyenne is not working properly.
+ 1
i havent start to learn java yet byt i think this may help you https://stackoverflow.com/questions/50617471/find-all-elements-of-an-object-that-has-no-value-empty-or-null/50617587
Or this one
https://medium.com/@yassinhajaj/helpful-nullpointerexceptions-in-java-765fdef30e8e
+ 1
Abdellah
thank you,i really apreciate it