deal all, i have finished my mock exam 3, please take a look.
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
posted
0
Feedback is welcome, hope it helps. You can find it at: http://www.geocities.com/sun_guoqiao/ Regards, ------------------ Guoqiao Sun Sun Certified Programmer for Java 2 Platform try my mock exam¹²³ at my homepage.
Guoqiao Sun<br />SCJP2 SCWCD2<br />Creator of <a href="http://www.jiris.com/" target="_blank" rel="nofollow">www.jiris.com</a>, Java resource, mock exam, forum
Gagan Indus
Ranch Hand
Joined: Feb 28, 2001
Posts: 346
posted
0
Guoqiao Thankx ma'n ! for ur hardwork put into making these gr8 mocks ! u goin gr8 i just mocked myself wid ur 3rd mock , wid 85% guess u make them lill harder than real exam haven't taken ur first 2 mocks , but keen on taking them now well , i have some doubts about 3rd mock questions , 2 of my doubts are : Q03-08 What is the output of trying to compile and run the following code? (Select one correct answer) -----------------------------------------------------------------------
// unicode value for character a is \u0061. public class T008 { public static void main(String args[]) { System.out.print((char)('\u0061') + " "); System.out.print((int )('\u0061') + " "); System.out.print((char)('a') + " "); System.out.println((int )('a') ); } } Options : A: a 61 a 61 B: a 97 a 97 C: a 61 a 97 D: a 97 a 61 I say , converting '\u0061' to int will be 97 , ( hex to decimal ) so answer B is correct , but given correct Ans is A?
Q03-10 What is the output of trying to compile and run the following code? (Select one correct answer) ----------------------------------------------------------------------- import java.io.*; public class T010 { public static void main(String args[]) { System.out.println( method(0) ); } static int method(int i) { try { if(i < 0) throw new IOException(); return 0; } catch (IOException e) { return 1; } } } ----------------------------------------------------------------------- A: 0 B: 1 C: The code does not compile. D: The code compiles but throws exception at runtime and as a result teminate execution abnormaly. Because 0<0 is false , so 0 shld be returned n printed , and ans A is correct . But mock 3 answer's say B to be correct ?
------------------ Gagan (/^_^\)
Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
I agri wid gagan Shyam
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
posted
0
Hi, Gagan, thank you very much for your kind feedback. I am wrong indeed in those two questions. I am correcting them now. And I have made the mock exam harder than real exam, you scored excellent here. Hope you perform even better in real test! Regards,
------------------ Guoqiao Sun Sun Certified Programmer for Java 2 Platform try my mock exam¹²³ at my homepage.
Originally posted by Roopa Bagur: Where do I check the answers ?
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
posted
0
Hi, Roopa, sometimes it is network problem. Good luck!
------------------ Guoqiao Sun Sun Certified Programmer for Java 2 Platform try my mock exam¹²³ at my homepage.
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
posted
0
Hi, Metal, some friends of mine also complain to me of not being able to access geocities in China, I don't know what is the problem. You can try it later time. Good luck!
------------------ Guoqiao Sun Sun Certified Programmer for Java 2 Platform try my mock exam¹²³ at my homepage.
Vedhas Pitkar
Ranch Hand
Joined: Jan 27, 2001
Posts: 445
posted
0
Gr8 job sun,keep it up.Somehow I just can't leave this site.Keep coming back.Ur exam helps me to keep in touch, methinks.Also,as ur certified,u can tell me what to do next? Great going , Vedhas
WHEN THE GOING GETS TOUGH,..........UPGRADE!!!
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
posted
0
Hi, Vedhas, thank you for your kind encourgement. I just hope what I did can be any help as I was once helped by so many people's experience and resource. As to next step, I am thinking of some certificate concerning J2EE. One is because I am using J2EE in my project, I want to master this technology by taking the certificate. My knowledge of J2EE is far from enough although my project is running properly on some application server. Another aspect is, I think the market is in big demand for J2EE people soon. Good luck to you!
------------------ Guoqiao Sun Sun Certified Programmer for Java 2 Platform try my mock exam¹²³ at my homepage.