Bav0
Legacy Member
onlangs ben ik succesvol gecertifieerd geraakt in Java1.5. Een verslagje hierover vind je hieronder. Nog mensen die dit gedaan hebben?
--
Sun certified Java developer 1.5
Preparation
I have used the SCJP Sun Certified Programmer for Java 5 Study Guide book from McGraw-Hill Osborne Media to prepare for this exam. This book comes highly recommended and in my view that is also correct. It tends to get quite verbose on subjects, making it a very long read, but that helps keeping the tone light, especially thanks to the numerous jokes or side-remarks. It can get a bit annoying when reading about subjects you are roughly aware of already, but you don't want to miss a tricky part.
While the coverage is kept simple and clear, the example questions are not. They are slightly harder then the real questions because they often try to trick you (a question about a complex threading case might actually result in a compile error involving an unexisting Stringbuffer method). ofcourse that's good preparation.
Personally I read through the book once, at the end of it skipping most introductions and context sketching. This can be done because it always gives a nice 2-minute drill overview of the theory covered and then examples and explanations. Reading it attentive into detail might take a few full days.
The accompanying CD-ROM has a similar mock exam with an equal number of questions as the real one.
Exam
The exam is quite the same as the mock exam form the book, except that there is a type of question involving drag and drop of code bits. These are quite hard as options are plenty. The exam itself is also quite hard, as it seems to have been shifted from 'knowledge based' to 'understanding based'. You will not be simply asked questions like the size of an integer (as in pre 1.5) Every question involves running code doing numerous things which you have to figure out. Most questions ask to chocie between results, compile errors or runtime failures. The fact that the code always might fail adds paranoia.
You get 2 hours and a half to complete 72 questions. That's enough. Personally I didn't review answers after the 72th although I had 50 minutes left because my head hurt. It would've been unwise. Just know that it's quite hard and that it's never really simple. Everyday practive is not adequate. They like to ask for the special cases you never run into. I scored lowest on Generics, it gets ugly fast.
Example
3. Given:
More of these questions here: http://www.wickedlysmart.com/SCJPStudyGuide/Java_5_SCJPquestions.html
--
Sun certified Java developer 1.5
Preparation
I have used the SCJP Sun Certified Programmer for Java 5 Study Guide book from McGraw-Hill Osborne Media to prepare for this exam. This book comes highly recommended and in my view that is also correct. It tends to get quite verbose on subjects, making it a very long read, but that helps keeping the tone light, especially thanks to the numerous jokes or side-remarks. It can get a bit annoying when reading about subjects you are roughly aware of already, but you don't want to miss a tricky part.
While the coverage is kept simple and clear, the example questions are not. They are slightly harder then the real questions because they often try to trick you (a question about a complex threading case might actually result in a compile error involving an unexisting Stringbuffer method). ofcourse that's good preparation.
Personally I read through the book once, at the end of it skipping most introductions and context sketching. This can be done because it always gives a nice 2-minute drill overview of the theory covered and then examples and explanations. Reading it attentive into detail might take a few full days.
The accompanying CD-ROM has a similar mock exam with an equal number of questions as the real one.
Exam
The exam is quite the same as the mock exam form the book, except that there is a type of question involving drag and drop of code bits. These are quite hard as options are plenty. The exam itself is also quite hard, as it seems to have been shifted from 'knowledge based' to 'understanding based'. You will not be simply asked questions like the size of an integer (as in pre 1.5) Every question involves running code doing numerous things which you have to figure out. Most questions ask to chocie between results, compile errors or runtime failures. The fact that the code always might fail adds paranoia.
You get 2 hours and a half to complete 72 questions. That's enough. Personally I didn't review answers after the 72th although I had 50 minutes left because my head hurt. It would've been unwise. Just know that it's quite hard and that it's never really simple. Everyday practive is not adequate. They like to ask for the special cases you never run into. I scored lowest on Generics, it gets ugly fast.
Example
3. Given:
Code:
class Bird {
{ System.out.print("b1 "); }
public Bird() { System.out.print("b2 "); }
}
class Raptor extends Bird {
static { System.out.print("r1 "); }
public Raptor() { System.out.print("r2 "); }
{ System.out.print("r3 "); }
static { System.out.print("r4 "); }
}
class Hawk extends Raptor {
public static void main(String[] args) {
System.out.print("pre ");
new Hawk();
System.out.println("hawk ");
}
}
What is the result?
A). pre b1 b2 r3 r2 hawk
B). pre b2 b1 r2 r3 hawk
C). pre b2 b1 r2 r3 hawk r1 r4
D). r1 r4 pre b1 b2 r3 r2 hawk
E). r1 r4 pre b2 b1 r2 r3 hawk
F). pre r1 r4 b1 b2 r3 r2 hawk
G). pre r1 r4 b2 b1 r2 r3 hawk
H). The order of output cannot be predicted
I). Compilation fails
4. Which are most typically thrown by an API developer or an application developer
as opposed to being thrown by the JVM? (Choose all that apply.)
A). ClassCastException
B). IllegalStateException
C). NumberFormatException
D). IllegalArgumentException
E). ExceptionInInitializerError
3. D is correct. (objective 1.3)
4. B, C and D are correct. (objective 2.6)