Pair 2

The Pair2 class (so called to distinguish it from an earlier assignment) takes two values as parameters in the constructor. The following methods are used to calculate and return results:

Then write a test program Pair2Tester.java with a main() method that demonstrates the use of the Pair2 class.