jeudi 8 octobre 2015

NullPointerException testing ADS method

I'm fairly new to java and I'm trying to test some of my methods in a class but I got the NullPointerException

[enter image description here]

The error points at ar.add(33); Looking into add method, I can't find anything wrong. enter image description here

Any ideas?

Aucun commentaire:

Enregistrer un commentaire