Ok, but how do I make it store the six variables and make them accesible in distance() ?
Copeg: Yes, I meant Overloading, not overriding. But is my code overloading the distance method at this...
Type: Posts; User: joachim89
Ok, but how do I make it store the six variables and make them accesible in distance() ?
Copeg: Yes, I meant Overloading, not overriding. But is my code overloading the distance method at this...
I have written a class for, as the title says, points in the three-dimensional space.
import java.awt.Point;
public class Point3d extends Point{
public Point3d(int x, int y, int z){...