Q
qazmlp1209
As I am aware, it is required to use equals() method(and not '==') for
equality comparision of two String objects.
But, what exactly is recommended for 'null' check?
if( stringObj == null )
or
if( stringObj.equals( null ) )
equality comparision of two String objects.
But, what exactly is recommended for 'null' check?
if( stringObj == null )
or
if( stringObj.equals( null ) )