class TriangleList2 {

   public void addTriangle(double s1In, double s2In, double s3In) {
       
      Triangle t = new Triangle(s1In, s2In, s3In);
      tList[numberOfTriangles] = t;
      numberOfTriangles++;
   }

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

}