jQuery in Action, 2nd edition*
The moose likes Certification Results and the fly likes Share my experience with you ! Passed SCJP 1.4 with 90% Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Certification Results
Bookmark "Share my experience with you ! Passed SCJP 1.4 with 90%" Watch "Share my experience with you ! Passed SCJP 1.4 with 90%" New topic
Author

Share my experience with you ! Passed SCJP 1.4 with 90%

Vince Hon
Ranch Hand

Joined: Feb 11, 2003
Posts: 117
I passed the SCJP 1.4 with 90% today, I want to share with all of you my experience. (my English is not good, pls forgive me ^^)
First I must say thanks to
Kathy Sierra and Bert Bates --- "Sun Certified Programmer & Developer for Java 2 Study Guide (Exam 310-035 & 310-027)"
and
Dan Chisholm (mock exam).

Background :
Before preparing for the SCJP, I have taken a course about JAVA (introductory level). Then I spend about 3 months on preparing for the exams.
Actually, I can shorten my preparation time. It is because the first book I read is for the 310-025 (platform 1.2) --- "Sun Certified Programmer for Java 2 Study Guide (Mc GrawHill)", it is very useful to me. I read the 310-025 study guide because it is hard to find other 310-035 reference book at that moment (in HK).
Therefore, I have read 2 reference books (310-025 and 310-035). Although I spend more time due to studying some overlapping materials, this gave me a strong understanding of the basic materials.
Preparation:
I have done all questions after each chapter and its mock exams of the books (I have mentioned above)I have read. The mock exams by Kathy Sierra and Bert Bates is very similar to the real exams.
In addition, I have done nearly all questions (platform 1.4) provided by Dan Chisholm . Personally, the materials that Dan's mock exams involved are in much more details. To certain extent, it is more difficult. Although some of them may be out of the scope of the exams, they gave me a better understanding about the Java knowledge.
Some recommendations for the exams:
1.
Object[] obj = new Object [0];
System.out.println(obj[0]);
it will give out ArrayIndexOutOfBoundsException instead of NullPointerException.
2.something may be strange about the assertion syntax. e.g.
assert (i > 0) ? "assertion true" : "assertion false";

3. this kind of code may be appear
boolean a = false;
boolean b = true;
boolean c = ( (a = true) | (b = true) );
4. be careful of the Wrapper class constructor
e.g.
int a = Integer.parseInt("123FGH"); //will have runtime error instead of compile time error

5. be careful of the array initialization:
int b [][] = {1,2,3}, {4,5,6}; //compile error
int c [] = new int[4] {1,2,3,4}; // compile error
6. u must know what's the benefit of encapsulation
7. u must know the range of short and byte
8. be careful the result of
Math.sqrt(-4D) // NaN (Math.sqrt() will not throw any exception
9. the switch statement:
float f = 9.2f;
switch (f) {
}
// not accept float
10. be careful method can have the same name as
constructor.
e.g.
class AA {
void AA () { //not constructor !
}
public static void main (String args[]) {
new RealQuestion13();
}
}

11. be careful some trap
e.g. while (1) {} // will not compile
12. be careful the start() nature of Thread.
e.g.
class AAA implements Runnable {
public void run () {
System.out.println ("run ... ");
}
public void start() {
System.out.println("start ... ");
}
public static void main (String args[]) {
new Thread( newAAA() ).start();
}
} // you better compile and run it
13.
noted that Thread.sleep() will not release the lock, notify() should be call on the object but not the thread
14.
you must know " x >> y = x / (2 to the power y)" and "x <<y = x * (2 to the power y) ", this can save your time and u can use this to check your calculation. ( Thanks to Kathy Sierra and Bert Bates here to mention it in the ExamWatch)
15.
be careful of the access modify involved in the interface.
e.g. interface variable is implicitly public, static and final. method declared in interface is implicitly public and abstract. Top level interface is implicitly public and abstract
nested interface is implicitly public, static and abstract .....
16.
there are several questions to test your knowledge of "String is immutable" (I've got 2 questions in the exams)
e.g.
String x = "AAA';
x.concat ("BBB");
System.out.println (x); // will output AAA instead of AAABBB
17.
be careful if equals() is not overriden, it is equal to "= =" operator.
18.
be careful sometimes " = " will be used in the if statement instead of " = = "
19.
be noticed that if exception is catch (either runtime or checked), the program will still run after the catch statement
till the end.
That's all of my recommendations
Hope this can help
--------------------
Vince Hon
HK student
Study at CUHK
like JAVA.


Vince Hon<br /> <br />SCJP 1.4 | SCWCD | SCBCD <br /><a href="http://vincehon.homeip.net:8000/VJW" target="_blank" rel="nofollow">http://vincehon.homeip.net:8000/VJW</a>
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Congratulations! However, this belongs in the Results Forum, so I'm moving it there.
By the way, is the material you've posted here from the exam or is it made up by you? We can not post real exam questions within this forum.
Corey


SCJP Tipline, etc.
Vince Hon
Ranch Hand

Joined: Feb 11, 2003
Posts: 117
Thanks for reply.
This is just the recommendations I want to remind the others, just made up by me. (I don't remember the exact exams questions ^ ^)
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
Congratulations on your great score Vince!


Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Congratulations!
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8815
    
    5
Vince -
Congratulations!
Thanks for using our book, we're very happy to hear that it helped!
-Bert


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Rory French
Ranch Hand

Joined: Apr 03, 2003
Posts: 97
Well done Vince! Thanks for sharing your experience and for your recommendations.
Francis Siu
Ranch Hand

Joined: Jan 04, 2003
Posts: 867
hi Vince
Good job~~
Thanks for your tips
CUHK is a good university in Hong Kong


Francis Siu
SCJP, MCDBA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Share my experience with you ! Passed SCJP 1.4 with 90%