Hello,
i have 2D array and initialise it with nested loop. More specific in place array[11][2] initialise it as element of another class i created. Now if i use system.out to print this place after the end of loop, content is ok, but if i print it in a method i created is null!!! Im not doing anything in that place in that method, just system.out. Any idea???
thank you
EDIT: Noticed that in method all elements of the array are NULL.Why? when that happens?
1 reply to this topic
#1
Posted 19 May 2011 - 04:16 PM
"Programming is like sex. One mistake and you have to support it for the rest of your life."
-Michael Sinz|
|
|
#2
Posted 19 May 2011 - 05:06 PM
That sounds unusual, could you provide a code example that shows the problem? Sometimes when distilling code you're working on into an example, you find the problem on your own. :)
Wow I changed my sig!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









