0
What is the difference between NullPointerException and IndexOutOfBoundsException?
2 Antworten
+ 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