wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes question regarding strings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question regarding strings" Watch "question regarding strings" New topic
Author

question regarding strings

trinadh reddy
Ranch Hand

Joined: Sep 22, 2005
Posts: 60
what is the diffrence betweenString str="abc" ;
and String str= new String("abc");
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

You should read this article about Strings:
http://www.javaranch.com/journal/200409/Journal200409.jsp#a1


[My Blog]
All roads lead to JavaRanch
 
jQuery in Action, 2nd edition
 
subject: question regarding strings