This week's book giveaways are in the Refactoring and Agile forums.We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!

deal all, my second mock exam is ready, please try it.

Guoqiao Sun
Ranch Hand
Posts: 317
Please try it and give me some feedback, hope it helps.
The URL is:
<code>
http://www.geocities.com/sun_guoqiao/
</code>
------------------
Guoqiao Sun
Sun Certified Programmer for Java™ 2 Platform
try my mock exam¹² at my homepage.

Adam S-R
Greenhorn
Posts: 18
Guoqiao
Looks good - glad to see you've made text bigger! Questions look good at first glance
Thanks
Adam

Guoqiao Sun
Ranch Hand
Posts: 317
Thanks, Adam, hope it helps.
Good luck!

Originally posted by Adam S-R:
Guoqiao
Looks good - glad to see you've made text bigger! Questions look good at first glance
Thanks
Adam

------------------
Guoqiao Sun
Sun Certified Programmer for Java™ 2 Platform
try my mock exam¹² at my homepage.

Gagan Indus
Ranch Hand
Posts: 346
Way to go Guoqiao !!
thankx for ur hardwork !
keep it up
------------------
Gagan (/^_^\)

Guoqiao Sun
Ranch Hand
Posts: 317
Thanks, Gagan.
Best regards,

------------------
Guoqiao Sun
Sun Certified Programmer for Java™ 2 Platform
try my mock exam¹² at my homepage.

Adam S-R
Greenhorn
Posts: 18
Guoqiao
Possible mistake on mock 2 Q.42?:

Which of the following statements are true?
(Select two correct answers)
A:
For any i < 0, Double.isNaN(Math.sqrt(i) will return true;<br /> B:<br /> Math.random()*100 > 0.0 will never return false;
C:
For any a > 0, Math.ceil(a) >= 1 will always return true;
D:
You can not change the length of an array after you defined it.

Answers:
: A C

Explanation:
: The range for random() is 0.0(inclusive)
to 1.0(exclusive).
Once an array is created and instantiated,
you cannot modify its length.

In that case, shouldn't the answers be B and D? Or have I got it wrong? Please clarify
Best wishes
Adam

Guoqiao Sun
Ranch Hand
Posts: 317
Hi, Adam. I really got something wrong here, I have modified it in my question mock-exam-02-42. Thanks for your kind reminder.

------------------
Guoqiao Sun
Sun Certified Programmer for Java™ 2 Platform
try my mock exam¹² at my homepage.

swati bannore
Ranch Hand
Posts: 201
Hi Sun,
Good job again,Thanx.
I think question 24 needs correction..just chk it again..

1)I Think,As there is no try/catch block for join()..candidates tend to select option D. And I think,u do not want to test on that..!
2) Additionally , answer is A, i.e. it prints 0,0,1
I cld be wrong...Thanx again.. trying questions after 25..

Guoqiao Sun
Ranch Hand
Posts: 317
Thank you swati, for you kind reminder. I have modified the question as well as the answer as you mentioned. If you would not mind, can you please tell me how much score you get from the test by email?
Good luck!

------------------
Guoqiao Sun
Sun Certified Programmer for Java™ 2 Platform
try my mock exam¹² at my homepage.