JDK 1.6 和 1.7 中的新功能

发布于 2024-12-25 18:52:19 字数 687 浏览 1 评论 0原文

我非常了解 JDK 1.5。众所周知,除了新的 API(例如 AtomicInteger)之外,还有一些重大的语言更改,例如提供对泛型的支持、添加枚举、提供自动装箱和自动拆箱等。

我想找到一些资源,最好对 JDK 1.6 和 1.7 中的新功能进行简短描述(对于新功能,我更喜欢阅读完整的解释)。就 API 的变化而言,只有重大变化是可以接受的,并且对新的变化进行简短的审查(例如,如果我记得写有一种从控制台读取字符的新方法)。就功能而言,我想找到完整列表(例如,对象分配的这种变化,现在JVM实际上可以在堆栈上创建对象以用于优化目的,但我不知道详细信息)。

对于 JDK 1.6 核心 Java 技术功能Java™ SE 6 与 J2SE 5.0 的兼容性。对于 JDK 1.7 使用 Java SE 7 异常更改,但它是不完整的列表。

I know JDK 1.5 pretty well. As we all know, besides new API (such as AtomicInteger, for example), there were major language changes such as providing support for generic, adding enum, prividing auto-boxing and auto-unboxing and so on.

I want to find some resources that have preferably short description of new features in JDK 1.6 and 1.7 (for big new features I prefer to read complete explanations). As far changes of API only major changes is acceptable and short review of new one (if I recall write there is new way to read characters from the console, for example). As far as features goes I want to find complete list (such changes in the allocation of the objects, now JVM can actually creates objects on the stack for optimization purposes, for example, but I don't know the details).

For JDK 1.6
Core Java Technology Features and Java™ SE 6 compatibility with J2SE 5.0. For JDK 1.7 Working with Java SE 7 Exception Changes, but it is incomplete list.

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

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

发布评论

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

评论(3

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