Question: Consider the following code fragment: String s = new String ( alice ) ; s = new String ( bob ) ; After executing this
Consider the following code fragment:
String s new String "alice" ;
s new String "bob" ;
After executing this code, what is the technical term for the object containing the letters "alice"?
garbage
trash
orphaned
lonely
there is no technical term for this
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
