Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] Odd question
- From: xwang@xxxxxxxxxxxxxxxxx (Alvin Wang)
- Subject: [Advanced-java] Odd question
- Date: Thu, 28 Mar 2002 17:57:50 -0500
Hi! It is a little odd. Let us say:
String str = new String("abc");
We all know that (str == "abc") is false. My question is how to manipulate
str to make str point to "abc" (because str knows that its value itself is
"abc"), or in the other word, to make (str == "abc") true?
Thanks!
- Follow-Ups:
- [Advanced-java] Odd question
- From: Alvin Wang
- [Advanced-java] Odd question
- From: friedman_hill ernest j
- [Advanced-java] Odd question
- From: laszlo
- [Advanced-java] Odd question
- Prev by Date: [Advanced-java] Date
- Next by Date: [Advanced-java] Odd question
- Previous by thread: [Advanced-java] Date
- Next by thread: [Advanced-java] Odd question
- Index(es):