Well, "String str1=NULL" it certainly ain't, because, as Bear said, there is no such thing as NULL in Java. The answer depends entirely on the context of your app. Maneesh has already pointed out how the two ways might be interpreted differently. Note that initializing a String to " " -a single space- is very unusual. The empty string -""- is much more common.