BUT2/DEV/DEV2.1/CM1/Q1_Décapité/Q1Main.java
2023-10-23 13:23:36 +02:00

11 lines
348 B
Java

//Wamster Alexis
import java.awt.GraphicsEnvironment;
public class Q1Main{
public static void main(String[] args){
GraphicsEnvironment serveur = new Serveur();
System.out.println("isHeadless dit : " + GraphicsEnvironment.isHeadless());
System.out.println("isHeadlessInstance dit : " + serveur.isHeadlessInstance());
}
}