### Question:
Triple { public C third() { return third; } Triple(A first, B second, C third); A first(); B second(); C third(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void third() { Triple pair = new Triple<>(10, false, "beers"); assertEquals("beers", pair.third()); }