It's not a secret anymore!
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question regarding strings" Watch "question regarding strings" New topic

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é

Joined: Nov 24, 2005
Posts: 14688

You should read this article about Strings:

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: question regarding strings
It's not a secret anymore!