I made a Java application where each class performs a processing and at the end it creates an instance of another class. It also calls a method of this class and passes results to it in the parameters of the method like this:
public class Matrix{
     public double CalculerMinimum()
     {
        ....
           if ((result < min)) {
                        min = result;
               }
       
            Liste lis  = new Liste();
            lis.getFile(min);
         return min;
     }
 }
public class Liste{
     public string getFile(double min)
     {
        ....
           
         return lien;
     }
}
What is the relationship between classes? how I can represent that with a class diagram?