RE: [OT] RE: new String("") vs String newStr = ""

2003-03-18 Thread Butt, Dudley
thx!! this helps


-Original Message-
From: Hajratwala, Nayan (N.) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 8:53 PM
To: 'Struts Users Mailing List'
Subject: [OT] RE: new String("") vs String newStr = ""


Take a look at this link:

http://java.sun.com/docs/books/tutorial/java/data/stringsAndJavac.html

The section on "Literal Strings" should answer your question.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Butt, Dudley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 18, 2003 1:48 PM
To: '[EMAIL PROTECTED]'
Subject: new String("") vs String newStr = ""


I know this isn't a struts question but i was hoping somone might be able to assist 
anyways.

Can anyone tell me the diference between the two statements:

String newStr = new String("") 

String newStr = ""


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy or other use of, or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient, is prohibited. 

If you received this message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy or other use of, or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient, is prohibited. 

If you received this message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] RE: new String("") vs String newStr = ""

2003-03-18 Thread Hajratwala, Nayan (N.)
Take a look at this link:

http://java.sun.com/docs/books/tutorial/java/data/stringsAndJavac.html

The section on "Literal Strings" should answer your question.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-Original Message-
From: Butt, Dudley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 18, 2003 1:48 PM
To: '[EMAIL PROTECTED]'
Subject: new String("") vs String newStr = ""


I know this isn't a struts question but i was hoping somone might be able to assist 
anyways.

Can anyone tell me the diference between the two statements:

String newStr = new String("") 

String newStr = ""


NOTICE: 

This message contains privileged and confidential information intended 
only for the person or entity to which it is addressed. 
Any review, retransmission, dissemination, copy or other use of, or 
taking of any action in reliance upon this information by persons or 
entities other than the intended recipient, is prohibited. 

If you received this message in error, please notify the sender 
immediately by e-mail, facsimile or telephone and thereafter delete the 
material from any computer. 

The New Africa Capital Group, its subsidiaries or associates do not 
accept liability for any personal views expressed in this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]