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()); } }