I have the following code, that i have revised multiple times:
public class double3 {
public double x=0;
public double y=0;
public double z=0;
public double3(double a, double b, double c){
this.x=a;
this.y=b;
this.z=c;
}
}
double3[] samples = new double3[4];//syntax error on token ";", { expected after this token
samples[0]=new double3(1,2,3);
What is happening here and what is eclipse trying to say to me?