设计两个类:Point 描述一个点; Distance 描述两点之间的距离利用有参数的构造函数实例化出两个Point对象,调用Distance方法getDist()计算得到两个点的距离。Tips:点(x1,y1), (x2,y2)距离=(x2- x1)2 + (y2- y1)2 查看完整描述