class TriangleList2 {

   public double largestPerimeter() {
      double largest = 0;
      int index = 0;
      while (index < numberOfTriangles) {
         if (largest < tList[index].perimeter()) {
            largest = tList[index].perimeter();
         }
         index++;  
      }   
      
      return largest;
   }

   public  TriangleList2(String listNameIn, Triangle[] tListIn, 
                        int numberOfTrianglesIn);

}