-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile2.java
More file actions
35 lines (26 loc) · 1016 Bytes
/
file2.java
File metadata and controls
35 lines (26 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class p_Dog {
public static void main (String [] id) {
{
if(3 < 2){
System.out.println("true");
}else {
System.out.println(4 + 5);
if(true && false)
System.out.println(2);
else
System.out.println(3);
if(1 < -3){
System.out.println("Nested true");
}else {
System.out.println("nested false");
}
}
/*System.out.println("10 + 20 - 4");
System.out.println(10 + 20 - 4);
System.out.println(305);
System.out.println("2 Plus 2");
System.out.println(2 + 2);
System.out.println(5 + 3 * 2 - 3 * 5 + 4 - 23 + 2 - 9 * 1 - 3 + 5 + 4 + 3 - 4 - 5 * 3);*/
}
}
}