class TwoDPointTest{

	public static void main (String args[]) {
		// Declare two TwoDPoint objects, p and q
		TwoDPoint p;
		TwoDPoint q;

		// Allocate space for the object p by calling
		// the new operator on the default constructor
		// of the TwoDPoint class
		p = new TwoDPoint();

		// Call the set methods to assign the two
		// coordinates of p
		p.setX(1.5);
		p.setY(2.5);

		// Make q point to p
		q = p;
		System.out.println(q.getAsString());
	}
}
