BUT2/DEV/DEV2.1/CM1/Q1_Décapité/Q1Main.java~

11 lines
336 B
Java
Raw Normal View History

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