[ad_1]
I think you mean
this.stack = new double[default_capacity];
and also
this.stack = new double[capacity];
4
[ad_2]
solved Type mismatch: cannot convert from double to double[]
[ad_1]
I think you mean
this.stack = new double[default_capacity];
and also
this.stack = new double[capacity];
4
[ad_2]
solved Type mismatch: cannot convert from double to double[]