Hello!
I want to know how to passing an array-object from a function..
I have a class called brickCollection , in this class i have a function
called getBricks() which a JFrame object should use to paint the bricks that
the brickCollection holds.
I tried with this, but it didn't work.
public brick[] getBricks()
{
return brick[];
}
Hope someone could help!
Regards,
Michael
I want to know how to passing an array-object from a function..
I have a class called brickCollection , in this class i have a function
called getBricks() which a JFrame object should use to paint the bricks that
the brickCollection holds.
I tried with this, but it didn't work.
public brick[] getBricks()
{
return brick[];
}
Hope someone could help!
Regards,
Michael
Comment