Java9 New Features - Learn by coding it

所在平台: Udemy

课程主页: https://www.udemy.com/course/java9-new-features/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:Java9新特性 - 通过编码学习 概述:本课程旨在帮助学员深入理解Java 9中引入的新特性及对现有概念的增强。课程将详细讨论多个主题,同时也根据需要解释Java 7和8的特性,使不熟悉旧版本的学生能够理解新变化。 主要主题包括: - 接口中的私有方法 - 钻石运算符增强 - 资源管理的改进 - SafeVarargs注解增强 - 创建不可变集合的工厂方法 - Stream API增强 - Java Shell (JShell) - Java平台模块系统(JPMS) - JLINK(Java链接器) - 进程API更新 - HTTP/2客户端 - 模块系统(Project Jigsaw):Java 9最显著的特性之一,即模块系统的引入,使开发者能够将代码封装为模块,从而创建可模块化和可扩展的应用程序。这有助于更好地模块化JDK,并简化大型应用程序的开发、维护和部署。 此外,课程还介绍了JShell(交互式REPL)工具,使开发者可以无需创建完整的Java类即可交互执行Java代码片段。同时,改进的进程API提高了其灵活性和强大功能,HTTP/2客户端提供了发送和接收HTTP请求的新方式,支持异步操作,多发布版本的JAR支持也允许在单个JAR中包含不同Java平台版本的类文件。 总之,Java 9还包含了各种其他改进、优化和更新,如现有类中的新方法、改进的垃圾回收技术及对java.util.concurrent包的更新。通过本课程,学员将全面掌握Java 9的新特性与最佳实践。

课程评论(0条)

课程详情

You will get better understanding about new features introduced in Java9 and new enhancement to existing concepts. The following topics discussed in detail. Java 7 and 8 features also explained based on requirement. Hence students not familiar with old versions will be able to understand the new changes.Topics: -Private Methods in InterfacesDiamond Operator EnhancementsTry With Resources EnhancementsSafeVarargs Annotation EnhancementsFactory Methods for Creating unmodifiable CollectionsStream API EnhancementsThe Java Shell(RPEL)The Java Platform Module System(JPMS)JLINK(JAVA LINKER)Process API UpdatesHTTP/2 ClientModule System (Project Jigsaw): One of the most prominent features in Java 9 is the introduction of the module system, also known as Project Jigsaw. This modularization allows developers to create modular and scalable applications by encapsulating code into modules. This helps in better modularization of the JDK itself and simplifies the development, maintenance, and deployment of large-scale applications.JShell (Interactive REPL): Java 9 introduced JShell, which is an interactive REPL (Read-Eval-Print Loop) tool. It enables developers to execute Java code snippets and expressions interactively without the need to create a full-fledged Java class. JShell provides a quick and easy way to experiment with code and test ideas.Improved Process API: Java 9 enhanced the Process API, making it more flexible and powerful. The ProcessBuilder class now has new methods to start and manage processes more effectively. Additionally, the introduction of the ProcessHandle class allows developers to access and monitor information about native processes.HTTP/2 Client: Java 9 included a new HTTP client that supports HTTP/2, providing a more modern and efficient way to send and receive HTTP requests. The new API is designed to be asynchronous and supports features like multiplexing, allowing multiple requests and responses to be sent concurrently over a single connection.Multi-Release JARs: Java 9 introduced support for multi-release JAR files, which allows developers to include different versions of class files for different Java platform versions within a single JAR. This helps in creating libraries or applications that can take advantage of features specific to different Java versions.Enhanced @Deprecated Annotation: The @Deprecated annotation was enhanced in Java 9 to include information about when the deprecated element was scheduled for removal. This additional information helps developers understand the deprecation timeline.Other Improvements and Updates: Java 9 also included various other improvements, optimizations, and updates, such as new methods in existing classes, improved garbage collection, and updates to the java.util.concurrent package

课程标签

0人关注该课程

主题相关的课程