Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
What is the difference between NullPointerException and IndexOutOfBoundsException?
2 Réponses
+ 1
NullPointer tells that the variable/property/pointer is not initialized.
indexOutOfBounds is thrown when you're trying to get value from array etc. where that index does not exist.
0
thank you