You should use String str = "";

On Nov 25, 1:49 pm, analyn flores <[email protected]> wrote:
> Which saves more memory?
>
> String str = "";
> or
> String str = new String();

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to