Thread: string doubt
View Single Post
  #1 (permalink)  
Old 08-01-2007, 04:31 PM
boy22 boy22 is offline
Member
 
Join Date: Jul 2007
Posts: 36
boy22 is on a distinguished road
string doubt
what is the difference between following string intializations.
Code:
String s = "abc"; String str = new String("abc");
Reply With Quote
Sponsored Links