Hacker News new | ask | show | jobs
by GreenToad 1675 days ago

    Point[] array=new Point[15000];
In java would create an array with null references, to fill it up you need to create each object so that point is valid.
1 comments

I stand corrected on that point.