1.Define a class Triple that is analogous to the class Pair described. Objects of Triple contain three integers. Include in your definition the methods getSmallest, getMiddle, getLargest, and getOrderedTriple.
Thoroughly test your new class by writing an appropriate client.
2. By consulting Sun’s online documentation for the Java Class Library, state the names of two static fields of the class System.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here