Celso Serrano Araujo

Greenhorn
+ Follow
since Dec 10, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Celso Serrano Araujo

Is A or B right? the literal string could to be gabage collected?
Note que x += x << 3; is assingment 54 in the automatic variable x and not variable member static x
How many objects are elegible for GC once execution has rechead the line labeled LINE A?

String name;
String newName = "Nick";
newName = "Jason";
name= "Fried";
String newestName = name;
name = null;
//LINE A

a) 0
b) 1
c) 2
d) 3
e) 4

Answer b

This is right? why?