function Point2D(x, y) { /* implements Cloneable */

        this.className = "Point2D";

        /* double, float or integer */
        this.x = x;

        /* double, float or integer */
        this.y = y;
    }
/** 
 * Class Point2D
 *
 * The Point2D class defines a point representing a location in (x, y) coordinate space.
 * 
 */


The Point2D class defines a point representing a location in (x, y) coordinate space.
The Point2D class defines a point representing a location in ( x y ) coordinate space .
function Point2D(x, y) { 
        this.className = "Point2D";
        this.x = x;
        this.y = y;
    }
function Point2D ( x , y ) { this . className = "Point2D" ; this . x = x ; this . y = y ; }
Class Point2D
Class Point2D
/* implements Cloneable */ /* double, float or integer */ /* double, float or integer */