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...


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.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here