KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > CondOrTest


1 public class CondOrTest {
2
3     public static void main(String JavaDoc [] args) {
4     
5         boolean x = true;
6         boolean y = false;
7
8         if (x || y) {
9             System.out.println("Both True");
10         }
11     }
12 }
13
Popular Tags