• Post Reply Bookmark Topic Watch Topic
  • New Topic

question regarding strings  RSS feed

 
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");
 
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
 
get schwifty. tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!