📚 Practice Mode
Java Programming Fundamentals
Learn at your own pace with hints and detailed explanations
1 / 16
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