Java (linguaggio di programmazione): differenze tra le versioni

m (Bot: Aggiunta portali Informatica)
Riga 58:
public class Main {
public static void main(String[] args) {
boolean sei_gay = true;
while (true) {System.out.println((sei_gay) ? "SEI GAY! " : "NON SEI GAY! ");
if(sei_gay) {
System.out.println("SEI GAY! ");
} else {
System.out.println("NON SEI GAY! ");
}
}
}
}
Utente anonimo