class Ball { float x,y; float vx,vy; Ball(float x, float y, float vx, float vy) { this.x = x; this.y = y; this.vx = vx; this.vy = vy; } }