About Question com.enthuware.ets.scjp.v6.2.601 :
Posted: Sun Jul 21, 2013 12:07 am
Hi,
This is a side question about the String() class.
Do you know why the API doc says that the constructor String() is not needed because String is immutable:
This is a side question about the String() class.
Do you know why the API doc says that the constructor String() is not needed because String is immutable:
Thankspublic String()
Initializes a newly created String object so that it represents an empty character sequence. Note that use of this constructor is unnecessary since Strings are immutable.