开发者

JVM specification and Java compiler code useful for SCJP preparation?

开发者 https://www.devze.com 2023-01-02 22:32 出处:网络
I\'m preparing the SCJP exam with the almost official study book ("SCJP Sun Certified Programmer for Java 6 Exam 310-065")

I'm preparing the SCJP exam with the almost official study book ("SCJP Sun Certified Programmer for Java 6 Exam 310-065")

I understand that Java programming is about writing code that fulfills a certain high-level contract; So that Java can stay platform-independent.

However, I have trouble understanding and remembering things when it comes to highly specific SCJP items (and they are numerous)

The book stays high-level and does not provide examples of how one compiler would handle things. This is the same thing for runtime issues (JVM level): things are too much abstract for me. Rules often seems arbitrary and therefore, with no well defined purpose, are difficult开发者_如何学Python to remember. Or maybe it's that sometimes I just don't get the underlying purpose.

And here is the question:

Would a JVM specification and/or some java compiler code help in preparing the SCJP? Have you had the need for such material or is the book sufficient enough? Also, please share the resources you used, apart from the book.


Your question is hard to understand. What does "does not provide examples of how one compiler would handle things" mean? You thought that it was important to italicize "one" - why?

I'm not sure what you mean by "Java compiler code help."

I don't believe a Java compiler specification would be any help at all.

The SCJP tests how well you know the Java core packages on the day you take the test. It's unfortunate that you have to know some esoteric things to pass.

But I can tell you that the things you are asked to learn are fundamental: You have to know the language syntax to be able to code it well.

And remember that the certification is only a milepost towards the real goal: being proficient enough with the language to write good code. The certification test is not sufficient for that. You'll have a lot more work and learning to do, even if you pass the test.


HI I am SCJP certified person. There will no be any questions regarding JVM specification and compiler code.I refered Kathy sierra book.I have studied this book completely. I have given some mock online exam. That was enough for me to crack the exam.


I have the SCJP certification, and the Sierra book was sufficient for me. I never worried about the JLS or particular implementations of the JVM.

There are some questions, particularly about concurrency, where the correct answer is that one cannot know the output, as it depends on the JVM. In such cases, if you were an expert in a particular JVM implementation, it could actually hurt you.

If you find it difficult to remember some of the test items, then you should probably practice writing code the uses those items, until it seems more natural.

Finally, don't be discouraged if you fail the mock exams included with the Sierra book. They are absolutely brutal. I think I barely failed all three, and then smoked the real exam. The important thing isn't passing the mock exams, but giving them your best shot, and then coming to understand why you missed each question.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号