[6장 실습문제]
1. 다음 main( )이 실행되면 아래 예시와 같이 출력되도록 MyPoint 클래스를 작성하라. public class MyPoint { private int x; private int y; MyPoint (int x, int y) { this.x = x; this.y = y; } public String toString() { return "Point(" + x + "," + y + ")"; } public boolean equals (MyPoint mp) { if (this.x == mp.x && this.y == mp.y) return true; else return false; } public static void main(String[] args) { MyPoint p = new MyPoint..