Question: Can someone please answer and explain this questionGiven the following code, which shows the source code line number . . . 1 : public class

Can someone please answer and explain this questionGiven the following code, which shows the source code line number ...
1: public class Scope{
2: public static void main (String[] args){
3: String one, two;
4: one ="a";
5: two ="b";
6: one = two;
7: String three = one;
8: one = null;
9: }
10: }
... at which line is every reference to a specific object lost?
8
6
5
7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!