This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!

AnthonyHan

Greenhorn
+ Follow
since Apr 06, 2001
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 AnthonyHan

In my exam,there are so many IO question.And the exam is different from most mock.
I have 2 years experience in Java,but my preparation is not so
sufficient only one week.
Don't worry,be careful in the exam,you will get it.
I am waiting your good news.
20 years ago
this afternoon,I passed the exam by 64%.Although it is very low, I got it and I am a member of SCJPS.I am very happy.I will work harder on JAVA.
20 years ago
I will attend the exam tomorrow,who can explain it for me?Thanks a lot!!!
1public class Q2 {
2 public static void main (String[] args) {
3 String s = "Hello World ";
4 String s1 = "Hello";
5 s = s1;
6 s = null;
7 s1 = null;
8 System.out.println(s);
9 }
10}
How many objects will be Garbage collected by the time execution completes Line 8?
1One
2Two
3Three
4Cannot determine
the answer is 4,I don't know why??? who can tell me?