In the following code, how many objects will be eligible for garbage collection on the line with the comment //here
public class BettyAck {
public static void main(
String argv[]){
BettyAck b =new BettyAck();
}
public BettyAck() {
Integer x = new Integer(10);
findOut(x);
Integer y = new Integer(99);
Integer z = y;
z = null;
findOut(y);
//here
}
public void findOut(Integer y){
y = null;
}
}
i'm jus not able to get it,can n e plzzz explain it to me