Hello,
I want to create an array while giving him to a method (especially the constructor)
This code won't work, but it shows what i mean.Code:public Rectangle(int length, int width) {
//super(length, width);
super(new int[] = {length, width});
}
Since super() must be the first keyword i cannot create the array first.
Is this possible ?
kind regards
