相關主題
商品描述
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程式設計新手,可能有一些或甚至沒有任何編程經驗的人。