Search:

Type: Posts; User: vkumar23

Search: Search took 0.10 seconds.

  1. Re: Creating a class for points in three dimensions.

    something like this

    import java.awt.Point;

    public class Point3d extends Point{

    private double Xco1;
    private double Xco2;
    private double Yco1;
    private double Yco1;
  2. Re: Creating a class for points in three dimensions.

    to start with

    a) your method should not be static as the superclass doesnot have this method as static so in essence you have
    not yet overridden the method.

    read the following

    ...
Results 1 to 2 of 2