*********************************************************************编写三个类:MaxTwo.java(可求两个数最大),MaxThree.java(求三个数最大)和MaxTest.java(测试类)。代码分别如下:*********************************************************************public class MaxTwo { public static double getMaxTwo(double a, double b) {return a > b ? a : b; }}
class Father{ public int compare(int a, int b) {return a > b ? a : b; }}class Son extends Father{ public int compare(int a, int b, int c) {return super.