final class Vector3 { final doube x, y, z; Vector3(double x : 0.0, double y : 0.0, double z : 0.0) { this.x = x; this.y = y; this.z = z; } } Vector3 yAxis = new Vector3(y : 1.0);