Thursday 25 January 2018

Drawing of rectangle in java

package geometry.drawing;

public class Rectangle extends Point {
double width;
double height;
public Rectangle(int x, int y, double h, double w ) {
super(x, y);
width = w;
height = h;
} // End of Rectangle Constructor
} // End of class Rectangle

0 comments: