How many strings are eligible to be
garbage collected after the execution of
line 2 and line 4?
public class TestClass
public static void main(String argol)
String stro = null;
String str1 = new String("some string");
String str2 = new String('second
string");
String str3 = new String("Third string");
str0 = str1; //1
str1 = null; //2
str2 = stro; //3
str3 = str2; 1/4
*
Answers
Answered by
4
Answer:
rgggg. I will not be able the next couple of weeks to the
Answered by
0
Answer:
soryyyyyyyyyyyyyyyy
Explanation:
I don't no this...
Similar questions
Physics,
4 months ago
Math,
4 months ago
Social Sciences,
4 months ago
English,
9 months ago
Biology,
1 year ago