A friendly place for programming greenhorns!
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
Author
String creation
asha Pawaskar
Greenhorn
Joined: Jun 25, 2010
Posts: 7
posted
Jun 29, 2010 22:02:57
0
hi
what is the difference between
String
s = "abc"; and
String s = new String("abc");
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
11
I like...
posted
Jun 29, 2010 22:15:28
0
Check
this Journal article
.
[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: String creation
Similar Threads
Related to String
String assignment
Stack Overflow
Difference between s = "" and new String("a")
.equals()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter