Beginning Java 8 Fundamentals: Language Syntax, Arrays, Data Types, Objects, and Regular Expressions

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