買這商品的人也買了...
商品描述
Work with essential and advanced features of the Java programming language such as Java modules development, lambda expressions (closures), inner classes, threads, I/O, Collections, garbage collection, and more. Author Kishori Sharan provides over 50 diagrams and 290 complete programs to help you visualize and better understand the topics covered in this book.
Java Language Features, Second Edition starts with a series of chapters on the essential language features provided by Java, including annotations, reflection, and generics. These topics are then complemented by details of how to use lambda expressions, allowing you to build powerful and efficient Java programs. The chapter on threads follows this up and discusses everything from the very basic concepts of a thread to the most advanced topics such as synchronizers, the fork/join framework, and atomic variables.
This book contains unmatched coverage of Java MIO, the Stream API, the Path API, the FileVisitor API, the watch service, and asynchronous file I/O. With this in-depth knowledge, your data- and file-management programs will be able to take advantage of every feature of Java's powerful I/O framework and much more.
Additionally, three appendices are available for free via the Download Source Code in apress.com. These appendices will give you a head start on the most important features of Java 10 and the new Java versioning scheme.
What You’ll Learn
- Use essential and advanced features of the Java language
- Code Java annotations and inner classes
- Work with reflection, generics, and threads
- Take advantage of the garbage collector
- Manage streams with the Stream API
Who This Book Is For
Those new to Java programming and continues the learning Java journey; it is recommended that you read an introductory Java programming book first, such as Beginning Java Fundamentals, from Apress.
商品描述(中文翻譯)
與 Java 程式語言的基本和進階功能合作,例如 Java 模組開發、lambda 表達式(閉包)、內部類別、執行緒、I/O、集合、垃圾回收等。作者 Kishori Sharan 提供了超過 50 張圖表和 290 個完整的程式碼範例,幫助您可視化並更好地理解本書所涵蓋的主題。
《Java 語言特性(第二版)》以一系列章節開始,介紹 Java 提供的基本語言特性,包括註解、反射和泛型。這些主題隨後由如何使用 lambda 表達式的細節補充,讓您能夠構建強大且高效的 Java 程式。接下來的執行緒章節討論了從執行緒的基本概念到最進階的主題,如同步器、fork/join 框架和原子變數的所有內容。
本書對 Java MIO、Stream API、Path API、FileVisitor API、監視服務和非同步檔案 I/O 提供了無與倫比的涵蓋。憑藉這些深入的知識,您的資料和檔案管理程式將能夠充分利用 Java 強大的 I/O 框架的每一個功能,還有更多。
此外,三個附錄可通過 apress.com 的 下載源代碼 免費獲得。這些附錄將讓您對 Java 10 的最重要特性和新的 Java 版本管理方案有一個良好的開端。
您將學到什麼
- 使用 Java 語言的基本和進階功能
- 編寫 Java 註解和內部類別
- 使用反射、泛型和執行緒
- 利用垃圾回收器
- 使用 Stream API 管理串流
本書適合誰閱讀
本書適合對 Java 程式設計感興趣的新手,並持續學習 Java 的旅程;建議您先閱讀一本入門的 Java 程式設計書籍,例如 Apress 的《Beginning Java Fundamentals》。