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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…