On Wed, Aug 31, 2011 at 6:40 AM, Build account <[email protected]>wrote:
> Hi,
>
> Thank you very much to let me know clearly.
> I tired to use your code snippet, but counldn't get sure.
>
> Another question here,
> If I use below code
> --------
> String a = new String("test");
> String b = a;
>
> b = null;
>
> --------
> In this case,
> the variable 'a' still allocated? Am I right? As long as I keep
> original variable?
>
Yes
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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/android-developers?hl=en