hi everyone
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" ;
and also
what for 2 different classes are there in garbage collection?
System.gc and runtime.gc ( both are doing the same job)
what is their individual role?
please anyone explain me....