//1- design test method public void add(int a) that adds a to both min and max of this object //2- design and test a method public void add(MinMax m) that adds the min of m to this min //and the max of m to this max. //3- design and test a method public MinMax addMinMax(MinMax m) that returns an object that is // the sum of the input object and this. //method print to print the values min and max public void print() { System.out.println("min: " + min + " max: " + max);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here