KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > BitNotCond


1 public class BitNotCond {
2
3     public static void main(String JavaDoc [] args){
4     
5         int x = 9;
6         int y = 10;
7
8         boolean b = !(x > y);
9
10         int b2 = ~x;
11     }
12 }
13
Popular Tags