[Solved] “java” i can’t run the code with that static method but i have to make it static [duplicate]
[ad_1] If you want it static you will have to do it like this: public static Vecteur somme(Vecteur v1, Vecteur v2) { Vecteur u = new Vecteur(v1.x + v2.x, v1.y + v2.y, v1.z + v2.z); return u; } The only way to do it with just one parameter and being able to use your own … Read more