KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > NullTest


1 import java.util.*;
2 public class NullTest {
3
4     public static void main( String JavaDoc [] args) {
5     
6         ArrayList i = null;
7         ArrayList j = null;
8         
9         if (i == null & j == null) {
10             i = new ArrayList();
11         }
12     }
13 }
14
Popular Tags