Here is how my constructor has been defined
public One (int [] a, int [] b)
{
A = a;
B = b;
C = new int [a.length + b.length];
}
This is how I am creating a object for this:
One A = new One ([1,3,5], [1,5,3]);
I am getting multiple errors for this , like the constructor (int,int,int,int,int,int) is not defined and syntax error on tokens,delete these tokens.
Can someone please tell me where am i going wrong ? Thanks
new int[] {1, 3, 5}