The main reason for asking this question is the particualr differences of how String is perceived in different languages. I am from a C++ background and now working in Java, where String is immutable. So I wanted to know the difference between
String m = "" ;
and
String n = null ;
Would be interesting to know if the pointer of m points to a memory location specially in java?