Java Programming Fundamentals
Casual Mode - Take your time!
1 / 16
Correct
0
Incorrect
0
Score
0%
Multiple Choice
The following code creates one array and one string object. which object is eligible for garbage collection after the code executes? ... String[] students = new String[10]; String studentName = "Peter Parker"; students[0] = studentName; studentName = null; ...
- Array Object
- Neither Object
- String Objec
- Both of the Objects