I have some problem with java. I developing a multiplayer applet, there a class called userServer registry new users and logging in other users. the problem is, that I don't
know how to append in a array.
user Users; int cnt=0; Users[cnt] = new user("emorjon2", "password"); cnt++;
is that the right way to append a item to an array??;:?: I myself don't think so, because
when I'm running the program it will be compiled without problem,
but then it print's out NullPointerException, what that means... :confused: