JVM 规范和 Java 编译器代码对 SCJP 准备有用吗?

发布于 2024-09-05 05:34:54 字数 435 浏览 2 评论 0原文

我正在使用几乎官方的学习书(“SCJP Sun Certified Programmer for Java 6 Exam 310-065”)准备 SCJP 考试。

我知道 Java 编程就是编写满足特定高要求的代码。级别合同;这样Java就可以保持平台无关性。

然而,当涉及到高度具体的 SCJP 项目(而且数量众多)时,我在理解和记忆方面遇到了困难。

这本书保持了较高的水平,并且没有提供一个编译器如何处理事情的示例。这对于运行时问题(JVM 级别)来说也是一样的:事情对我来说太抽象了。规则通常看起来是任意的,因此,如果没有明确的目的,就很难记住。或者也许是有时我只是不明白潜在的目的。

问题是:

JVM 规范和/或某些 java 编译器代码是否有助于准备 SCJP?您是否需要此类材料,或者这本书是否足够?另外,请分享除书籍之外您使用的资源。

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 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

太阳男子 2024-09-12 05:34:54

你的问题很难理解。 “没有提供一个编译器如何处理事物的示例”是什么意思?您认为斜体“一”很重要 - 为什么?

我不确定“Java 编译器代码帮助”是什么意思。

我不认为 Java 编译器规范有任何帮助。

SCJP 在您参加考试的当天测试您对 Java 核心包的了解程度。不幸的是,你必须知道一些深奥的东西才能通过。

但我可以告诉你,你需要学习的东西是基本的:你必须了解语言语法才能很好地编码。

请记住,认证只是实现真正目标的一个里程碑:足够精通该语言以编写良好的代码。认证测试对此还不够。即使您通过了测试,您也会有更多的工作和学习要做。

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.

多情出卖 2024-09-12 05:34:54

你好
我是 SCJP 认证人士。不会有任何关于JVM规范和编译器代码的问题。我参考了Kathy sierra的书。我已经完整地研究了这本书。我做了一些在线模拟考试。这足以让我通过考试。

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.

旧街凉风 2024-09-12 05:34:54

我有 SCJP 认证,Sierra 书对我来说就足够了。我从不担心 JLS 或 JVM 的特定实现。

有一些问题,特别是关于并发性的问题,正确答案是无法知道输出,因为它取决于 JVM。在这种情况下,如果您是特定 JVM 实现的专家,那么它实际上可能会伤害您。

如果您发现很难记住某些测试项目,那么您可能应该练习编写使用这些项目的代码,直到看起来更自然为止。

最后,如果您未通过 Sierra 书中包含的模拟考试,请不要灰心。他们绝对是残酷的。我想我三门都勉强不及格,然后就在真正的考试中抽了烟。重要的不是通过模拟考试,而是尽力而为,然后了解为什么你错过了每一道题。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文