DEV/DEV2.1/hasard/exo2/test.java

15 lines
433 B
Java
Raw Permalink Normal View History

2023-04-27 11:24:21 +02:00
public class test
{
public static void main(String[] args) {
Entiexte test = new Entiexte("11");
System.out.println(test.toString());
System.out.println(test.toInt());
Entiexte test2 = new Entiexte("9");
Entiexte test3 = new Entiexte("11");
Entiexte test4 = new Entiexte("14");
System.out.println(test.plusGrand(test2));
System.out.println(test.plusGrand(test3));
System.out.println(test.plusGrand(test4));
}
}