 Créez une classe de conteneur contenant deux valeurs.
class Container { \n chaîne privée value1 ;\n chaîne privée value2 ;\n \n public Container(String value1, String value2) { \n this.value1 = value1 ; \n this.value2 = valeur2 ; \n } \n \n public String getValue1() { \n return value1; \n } \n \n public String getValue2() { \n return value2; \n } \n \n public void setValue1(String value1) { \n this.value1 = value1; \n } \n \n public void setValue2(String value2) { \n this.value2 = value2; \n} \n}