String t = new String (“test”);

If (“test”.equals(t))
        System.out.println (“true”);
System.out.println (“false”);


Is this a True statement ? What are the Pros and Cons using Strings
like the example above?
Thanks..

--~--~---------~--~----~------------~-------~--~----~
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