2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/presentations/Programmieren-Tutorium/Tutorium-02/Bool.java
2013-11-05 19:39:03 +01:00

21 lines
422 B
Java

public class Bool {
public static void main(String[] v) {
boolean a = true;
boolean b = false;
boolean c = true;
int d = 0;
boolean e = false;
if (a && b && c) {
System.out.println("Alpha");
}
if (d) {
System.out.println("Beta");
}
if (a||b && b||e) {
System.out.println("Gamma");
}
}
}