Beginning Java 8 Fundamentals: Language Syntax, Arrays, Data Types, Objects, and Regular Expressions
暫譯: Java 8 基礎入門:語言語法、陣列、資料類型、物件與正規表達式

Kishori Sharan

商品描述

Beginning Java 8 Fundamentals provides a comprehensive approach to learning the Java programming language, especially the object-oriented fundamentals necessary at all levels of Java development.

Author Kishori Sharan provides over 90 diagrams and 240 complete programs to help beginners and intermediate level programmers learn the topics faster. Starting with basic programming concepts, the author 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.

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’ll learn

  • How to write your first Java programs with an emphasis on learning object-oriented programming in Java
  • What are data types, operators, statements, classes and objects
  • How to do exception handling, assertions, strings and dates, and object formatting
  • What are regular expressions and how to use them
  • How to work with arrays, interfaces, enums, and inheritance
  • How to deploy Java applications on memory-constrained devices using compact profiles

Who this book is for

This book is for those who are new to Java programming, who may have some or even no prior programming experience.

Table of Contents

1. Programming Concepts

2. Writing Java Programs

3. Data Types

4. Operators

5. Statements

6. Classes and Objects

7. Object and Objects Classes

8. Wrapper Classes

9. Exception Handling

10. Assertions

11. Strings

12. Dates and Times

13. Formatting Data

14. Regular Expressions

15. Arrays

16. Inheritance

17. Interfaces

18. Enum Types

19. ASCII Character Set

20. Writing Documentation Comments

21. Compact Profiles

 

 

商品描述(中文翻譯)

Beginning Java 8 Fundamentals》提供了一個全面的學習 Java 程式語言的方法,特別是所有 Java 開發層級所需的物件導向基礎知識。

作者 Kishori Sharan 提供了超過 90 張圖表和 240 個完整的程式範例,幫助初學者和中級程式設計師更快地學習這些主題。從基本的程式設計概念開始,作者逐步引導您撰寫第一個 Java 程式。擁有這些實踐經驗後,您將準備好學習 Java 語言的核心。

本書接著介紹一系列基礎主題,包括使用資料類型、操作符以及在 Java 中撰寫語句。這些基礎知識引導您進入 Java 語言的核心:物件導向程式設計。通過學習類別、物件、介面和繼承等主題,您將對 Java 的物件導向模型有良好的理解。

最後一系列主題將您所學的知識轉化為真正的 Java 程式設計師。您將學會如何利用物件導向程式設計的力量,撰寫能夠處理錯誤和例外的程式,處理字串和日期,格式化資料,並使用陣列來操作資料。

您將學到什麼


  • 如何撰寫您的第一個 Java 程式,重點在於學習 Java 中的物件導向程式設計

  • 什麼是資料類型、操作符、語句、類別和物件

  • 如何進行例外處理、斷言、字串和日期,以及物件格式化

  • 什麼是正規表達式以及如何使用它們

  • 如何使用陣列、介面、列舉和繼承

  • 如何在記憶體受限的設備上使用緊湊型配置部署 Java 應用程式

本書適合誰

本書適合那些對 Java 程式設計感到陌生的人,無論他們是否有任何程式設計經驗。

目錄

1. 程式設計概念

2. 撰寫 Java 程式

3. 資料類型

4. 操作符

5. 語句

6. 類別和物件

7. 物件和物件類別

8. 包裝類別

9. 例外處理

10. 斷言

11. 字串

12. 日期和時間

13. 格式化資料

14. 正規表達式

15. 陣列

16. 繼承

17. 介面

18. 列舉類型

19. ASCII 字元集

20. 撰寫文件註解

21. 緊湊型配置