Inder Kumar Rathore wrote:Is it really necessary to initialize it.....we can initialize it wit null also...
That's not the same. new String() is the same as "", not null.
But I agree that the default constructor is never really needed from code, just like the constructor that takes another String. Both are remainders of old times and may still be used in reflection, but other than that they should be shunned.