KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T3101re1


1
2 class T3101re1 {
3     public static void main(String JavaDoc[] args) {
4         long l1 = 0x1111111122222222L;
5         long l2 = 0x2222222211111111L;
6         if (l1 < l2) {
7             System.out.print("OK");
8         } else {
9             System.out.print("Wrong endianness");
10         }
11     }
12 }
13     
Popular Tags