i have a very a very basic question in mind .. i wanted to discuss ..
Difference Between these?
String s1= new String("java") ;
String s2="java" ;
what for 2 different classes are there in garbage collection?
please anyone explain me....