• 2022-06-07 问题

    中国大学MOOC: public class Position{ double latitude; double longitude; public static double calDistance(double x1, double y1, double x2, double y2){ ...... } public static double calDirection(double x1, double y1, double x2, double y2){ ...... }}上述代码的设计是否合理?

    中国大学MOOC: public class Position{ double latitude; double longitude; public static double calDistance(double x1, double y1, double x2, double y2){ ...... } public static double calDirection(double x1, double y1, double x2, double y2){ ...... }}上述代码的设计是否合理?

  • 1