Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question regarding strings

 
trinadh reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the diffrence betweenString str="abc" ;
and String str= new String("abc");
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should read this article about Strings:
http://www.javaranch.com/journal/200409/Journal200409.jsp#a1
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic