Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PointTester{
- public static void main(String[] args){
- //Uncomment this section after completing constructors, getters, setters, and toString
- // Point p1 = new Point();
- // System.out.println( p1.getX() );
- // System.out.println( p1.getY() );
- // System.out.println( p1 );
- // p1.setX(3);
- // p1.setY(4);
- // System.out.println( p1 );
- // Point p2 = new Point(4,5);
- // System.out.println( p2 );
- //Uncomment this section after completing quadrant
- // System.out.println( p1.quadrant() );
- //Uncomment this section after completing flip
- // p1.flip();
- // System.out.println( p1 );
- // System.out.println( p1.quadrant() );
- //Uncomment this section after completing isVertical
- // System.out.println( p1.isVertical(p2) );
- // Point p3 = new Point( 4, 8 );
- // System.out.println( p2.isVertical(p3) );
- //Uncomment this section after completing slope
- // System.out.println( p1.slope(p2) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement