Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17
暫譯: Java 17 基礎入門:Java 17 的物件導向程式設計
Sharan, Kishori, Davis, Adam L.
- 出版商: Apress
- 出版日期: 2021-11-28
- 售價: $2,710
- 貴賓價: 9.5 折 $2,575
- 語言: 英文
- 頁數: 1036
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1484273060
- ISBN-13: 9781484273067
-
相關分類:
Java 程式語言、Object-oriented
海外代購書籍(需單獨結帳)
商品描述
Learn the fundamentals of the Java 17 LTS or Java Standard Edition version 17 Long Term Support release, including basic programming concepts and the object-oriented fundamentals necessary at all levels of Java development. Authors Kishori Sharan and Adam L. Davis walk you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. Beginning Java 17 Fundamentals provides over 90 diagrams and 240 complete programs to help you learn the topics faster.
While this book teaches you the basics, it also has been revised to include the latest from Java 17 likely to include the following: Value types, objects without identity but with an efficient memory layout; local variable type inference (var); pattern matching, a mechanism for testing and deconstruction values; sealed types, a mechanism for declaring all possible subclasses of a class; multi-line text values; and improved interoperability with native code, to enable Java source code to call functions and use data types from other languages, in a way that is easier and have better performance than today.
The book continues with a series of foundation topics, including using data types, working with operators, and writing statements in Java. These basics lead onto the heart of the Java language: object-oriented programming. By learning topics such as classes, objects, interfaces, and inheritance you'll have a good understanding of Java's object-oriented model. The final collection of topics takes what you've learned and turns you into a real Java programmer.
You'll see how to take the power of object-oriented programming and write programs that can handle errors and exceptions, process strings and dates, format data, and work with arrays to manipulate data.
What You Will Learn
- Write your first Java programs with emphasis on learning object-oriented programming
- How to work with switch expressions, value types (records), variable type inference, pattern matching and more from Java 17
- Handle exceptions, assertions, strings and dates, and object formatting
- Use regular expressions
- Take advantage of the JShell REPL tool
Who This Book Is For
Those who are new to Java programming, who may have some or even no prior programming experience.
商品描述(中文翻譯)
學習 Java 17 LTS(長期支援版本)或 Java 標準版 17 的基本概念,包括所有 Java 開發層級所需的基本程式設計概念和物件導向基礎。作者 Kishori Sharan 和 Adam L. Davis 將逐步引導您撰寫第一個 Java 程式。擁有這些實踐經驗後,您將準備好學習 Java 語言的核心內容。《Beginning Java 17 Fundamentals》提供超過 90 個圖表和 240 個完整程式,幫助您更快地學習這些主題。
雖然本書教授基本知識,但也已修訂以包含 Java 17 的最新內容,可能包括以下內容:值類型、沒有身份但具有高效記憶體佈局的物件;局部變數類型推斷(var);模式匹配,一種測試和解構值的機制;密封類型,一種聲明類別所有可能子類的機制;多行文字值;以及與原生代碼的改進互操作性,使 Java 原始碼能夠以更簡單且性能更佳的方式調用其他語言的函數和使用數據類型。
本書接著介紹一系列基礎主題,包括使用數據類型、操作符的使用以及在 Java 中撰寫語句。這些基礎知識引導您進入 Java 語言的核心:物件導向程式設計。通過學習類別、物件、介面和繼承等主題,您將對 Java 的物件導向模型有良好的理解。最後一部分的主題將您所學的知識整合,讓您成為一名真正的 Java 程式設計師。
您將學會如何利用物件導向程式設計的力量,撰寫能夠處理錯誤和例外、處理字串和日期、格式化數據以及使用陣列來操作數據的程式。
您將學到的內容
- 撰寫您的第一個 Java 程式,重點學習物件導向程式設計
- 如何使用 switch 表達式、值類型(記錄)、變數類型推斷、模式匹配等 Java 17 的新特性
- 處理例外、斷言、字串和日期,以及物件格式化
- 使用正則表達式
- 利用 JShell REPL 工具
本書適合誰閱讀
本書適合對 Java 程式設計感興趣的新手,無論您是否有任何程式設計經驗。
作者簡介
Adam L. Davis makes software. He's spent many years developing in Java (since Java 1.2) and has enjoyed using Spring and Hibernate for more than a decade. Since 2006 he's been using Groovy, Grails, HTML, CSS, and JavaScript, in addition to Java, to create SaaS web applications that help track finances for large institutions (among other things). Adam has a master's and a bachelor's degree in Computer Science from Georgia Tech. He is also the author of Reactive Streams in Java (Apress, 2019), Learning Groovy 3, Second Edition (Apress, 2019) and Modern Programming Made Easy, Second Edition (Apress, 2020).
作者簡介(中文翻譯)
Kishori Sharan 擁有阿拉巴馬州特洛伊州立大學的計算機資訊系碩士學位。他是 Sun 認證的 Java 2 程式設計師,並在 Java、JSP、EJB 和網頁技術方面擁有豐富的專業開發者培訓經驗。他在實施企業級 Java 應用程式方面擁有超過十年的經驗。
Adam L. Davis 是一位軟體開發者。他在 Java 開發方面有多年經驗(自 Java 1.2 以來),並且在過去十多年中享受使用 Spring 和 Hibernate。自 2006 年以來,他除了 Java 外,還使用 Groovy、Grails、HTML、CSS 和 JavaScript 來創建幫助大型機構追蹤財務的 SaaS 網頁應用程式(以及其他用途)。Adam 擁有喬治亞理工學院的計算機科學碩士和學士學位。他也是 Reactive Streams in Java(Apress, 2019)、Learning Groovy 3, Second Edition(Apress, 2019)和 Modern Programming Made Easy, Second Edition(Apress, 2020)的作者。