Hey,

        don't feel stupid. Tell yourself that more advanced users are
ex-beginners too. I for one would have been glad if someone had helped me
a few years ago.

        Here is a quick example, the class it foo and the array is bar.

foo[] bar;

// at this point bar == null

...

bar = new foo[SIZE];

// At this point, bar[i] == null

for(int i = 0; i < bar.length; i++)
        bar[i] = new foo();

// Now, bar is allocated with a full array of nun-null objects.

        You should also try to go see at http://www.mcp.com

They have online books that tey usually, and they have quite a few on
java.


                                        Good luck!!!

                                         Papi



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to