BUT2/DEV/DEV2.1/TP07_Polymorphisme/Q2_Moyenne/Q2.java~
2023-10-23 13:23:36 +02:00

9 lines
177 B
Java

public class Q2a{
public static void main(String[] args) {
Moyenne1 test = new Moyenne1();
test.add(10);
test.add(3.333);
System.out.println(test.getAverage());
}
}