This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes question regarding strings Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "question regarding strings" Watch "question regarding strings" New topic
Author

question regarding strings

trinadh reddy
Ranch Hand

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

Joined: Nov 24, 2005
Posts: 14672
    
  11

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


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: question regarding strings
 
Similar Threads
String Creation
String
a simple question
case of two equal object
Total number of object string creates?