Java Coding Problems - Second Edition: Become an expert Java programmer by solving over 200 brand-new, modern, real-world problems
暫譯: Java 編程問題 - 第二版:透過解決超過 200 個全新、現代、真實世界的問題成為專業的 Java 程式設計師

Leonard, Anghel

  • 出版商: Packt Publishing
  • 出版日期: 2024-03-19
  • 售價: $2,130
  • 貴賓價: 9.5$2,024
  • 語言: 英文
  • 頁數: 798
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837633940
  • ISBN-13: 9781837633944
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Stay on top of the new Java features (up to JDK 21) and find efficient solutions for your programming woes. With over 250 problems and solutions, you'll learn new ways to deal with real-world coding tasks and answers to common interview questions. Purchase of the print or Kindle book includes a free PDF eBook

Key Features

  • Solve Java programming challenges and get interview-ready with the power of modern Java 21
  • Test your Java skills using language features, algorithms, data structures, and design patterns
  • Explore tons of examples, all fully refreshed for this edition, meant to help you accommodate JDK 12 to JDK 21

Book Description

The super-fast evolution of the JDK between versions 12 and 21 has made the learning curve of modern Java steeper, and increased the time needed to learn it. This book will make your learning journey quicker and increase your willingness to try Java's new features by explaining the correct practices and decisions related to complexity, performance, readability, and more. Jave Coding Problems takes you through Java's latest features but doesn't always advocate the use of new solutions - instead, it focuses on revealing the trade-offs involved in deciding what the best solution is for a certain problem. There are more than two hundred brand new and carefully selected problems in this second edition, chosen to highlight and cover the core everyday challenges of a Java programmer. Apart from providing a comprehensive compendium of problem solutions based on real-world examples, this book will also give you the confidence to answer questions relating to matching particular streams and methods to various problems. By the end of this book you will have gained a strong understanding of Java's new features and have the confidence to develop and choose the right solutions to your problems.

What you will learn

  • Adopt the latest JDK 21 features in your applications
  • Explore Records, Record Patterns, Record serialization and so on
  • Work with Sealed Classes and Interfaces for increasing encapsulation
  • Learn how to exploit Context-Specific Deserialization Filters
  • Solve problems relating to collections and esoteric data structures
  • Learn advanced techniques for extending the Java functional API
  • Explore the brand-new Socket API and Simple Web Server
  • Tackle modern Garbage Collectors and Dynamic CDS Archives

Who this book is for

If you are a Java developer who wants to level-up by solving real-world problems, then this book is for you. Working knowledge of the Java programming language is required to get the most out of this book

商品描述(中文翻譯)

掌握最新的 Java 特性(至 JDK 21)並找到有效的解決方案來解決您的程式設計困擾。這本書提供超過 250 個問題和解決方案,您將學習到處理現實世界編碼任務的新方法以及常見面試問題的答案。購買印刷版或 Kindle 書籍將包括免費的 PDF 電子書。

主要特點


  • 解決 Java 程式設計挑戰,並利用現代 Java 21 的力量為面試做好準備

  • 使用語言特性、演算法、資料結構和設計模式來測試您的 Java 技能

  • 探索大量範例,所有範例均為本版全新更新,旨在幫助您適應 JDK 12 至 JDK 21

書籍描述

JDK 在版本 12 和 21 之間的快速演變使得現代 Java 的學習曲線變得更加陡峭,並增加了學習所需的時間。本書將使您的學習旅程更快,並通過解釋與複雜性、性能、可讀性等相關的正確實踐和決策,增加您嘗試 Java 新特性的意願。《Java Coding Problems》帶您了解 Java 的最新特性,但並不總是提倡使用新解決方案 - 相反,它專注於揭示在決定某個問題的最佳解決方案時所涉及的權衡。本第二版中有超過兩百個全新且精心挑選的問題,旨在突顯和涵蓋 Java 程式設計師的核心日常挑戰。除了提供基於現實世界範例的問題解決方案的全面彙編外,本書還將使您有信心回答與將特定流和方法匹配到各種問題相關的問題。在閱讀完本書後,您將對 Java 的新特性有深入的理解,並有信心開發和選擇正確的解決方案來解決您的問題。

您將學到什麼


  • 在您的應用程式中採用最新的 JDK 21 特性

  • 探索 Records、Record Patterns、Record 序列化等

  • 使用 Sealed Classes 和 Interfaces 來增強封裝性

  • 學習如何利用上下文特定的反序列化過濾器

  • 解決與集合和深奧資料結構相關的問題

  • 學習擴展 Java 函數式 API 的高級技術

  • 探索全新的 Socket API 和簡易網頁伺服器

  • 處理現代垃圾回收器和動態 CDS 檔案

本書適合誰

如果您是一位希望通過解決現實世界問題來提升技能的 Java 開發者,那麼這本書適合您。需要具備 Java 程式語言的工作知識,以便充分利用本書的內容。

目錄大綱

1. Text Blocks, Locales, Numbers, and Math
2. Objects, Immutability, Switch Expressions, and Pattern Matching
3. Working with Date and Time
4. Records and Record Patterns
5. Arrays, Collections, and Data Structures
6. Java I/O: Context-Specific Deserialization Filters
7. Foreign (Function) Memory API
8. Sealed and Hidden Classes
9. Functional Style Programming - Extending APIs
10. Concurrency - Virtual Threads and Structured Concurrency
11. Concurrency ‒ Virtual Threads and Structured Concurrency: Diving Deeper
12. Garbage Collectors and Dynamic CDS Archives
13. Socket API and Simple Web Server

目錄大綱(中文翻譯)

1. Text Blocks, Locales, Numbers, and Math

2. Objects, Immutability, Switch Expressions, and Pattern Matching

3. Working with Date and Time

4. Records and Record Patterns

5. Arrays, Collections, and Data Structures

6. Java I/O: Context-Specific Deserialization Filters

7. Foreign (Function) Memory API

8. Sealed and Hidden Classes

9. Functional Style Programming - Extending APIs

10. Concurrency - Virtual Threads and Structured Concurrency

11. Concurrency ‒ Virtual Threads and Structured Concurrency: Diving Deeper

12. Garbage Collectors and Dynamic CDS Archives

13. Socket API and Simple Web Server