cours-info/Variables.java

24 lines
323 B
Java

import static utils.Utils.*;
public class Variables {
public static final void main(String[] args) {
int a = 0;
char b;
b = '0';
boolean c = true;
boolean d = false;
afficher(a, b, c, d);
afficher("c ou d");
afficher(c || d);
boolean expr1 = c && d;
afficher(expr1);
}
}