How many string objects will be created for each line below? Put then in Heap and/or in String Constant Pool.
String name="Hemant";
String sName=name+"Khandal";
String s=sName+"Java";
String ss=new String("Hemant");
The time limit has expired and your responses have been submitted.