|
|
Q4018 Why do I keep getting a "java.lang.NullPointerException" when using arrays?
irt.org | Knowledge Base | Java | Q4018 [ previous next ] Q4018 Why do I keep getting a "java.lang.NullPointerException" when using arrays?Two possiblities:
See the following example
Of course now you'll get a "java/lang.StringIndexOutOfBoundsException" but that's because all of the Strings are empty ;-) Feedback on 'Q4018 Why do I keep getting a "java.lang.NullPointerException" when using arrays?' |
-- div -->
|