Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions
暫譯: Java 9 基礎入門:陣列、物件、模組、JShell 與正規表達式
Kishori Sharan
商品描述
Learn the basics of Java 9, including basic programming concepts and the object-oriented fundamentals necessary at all levels of Java development. Author Kishori Sharan walks 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 9 Fundamentals provides over 90 diagrams and 240 complete programs to help you learn the topics faster.
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.
This book is a companion to two other books also by Sharan focusing on APIs and advanced Java topics.
What You’ll Learn
- Write your first Java programs with an emphasis on learning object-oriented programming in Java
- Work with data types, operators, statements, classes and objects
- Handle exceptions, assertions, strings and dates, and object formatting
- Use regular expressions
- Work with arrays, interfaces, enums, and inheritance
- Take advantage of the new 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 9 的基本概念,包括所有 Java 開發層級所需的基本程式設計概念和物件導向基礎。作者 Kishori Sharan 逐步引導您撰寫第一個 Java 程式。擁有這些實踐經驗後,您將準備好學習 Java 語言的核心。《Beginning Java 9 Fundamentals》提供超過 90 張圖表和 240 個完整程式,幫助您更快地學習這些主題。
本書接著介紹一系列基礎主題,包括使用資料類型、操作符以及在 Java 中撰寫語句。這些基礎知識引導您進入 Java 語言的核心:物件導向程式設計。透過學習類別、物件、介面和繼承等主題,您將對 Java 的物件導向模型有良好的理解。
最後一部分的主題將您所學的知識轉化為真正的 Java 程式設計師。您將看到如何利用物件導向程式設計的力量,撰寫能夠處理錯誤和例外、處理字串和日期、格式化資料以及使用陣列來操作資料的程式。
本書是 Sharan 另外兩本專注於 API 和進階 Java 主題的書籍的伴侶。
您將學到的內容:
- 撰寫您的第一個 Java 程式,重點學習 Java 中的物件導向程式設計
- 使用資料類型、操作符、語句、類別和物件
- 處理例外、斷言、字串和日期,以及物件格式化
- 使用正規表達式
- 使用陣列、介面、列舉和繼承
- 利用新的 JShell REPL 工具
本書適合對象:
對 Java 程式設計感到陌生的人,無論是有一些或甚至沒有任何程式設計經驗。