Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions
- Length: 1037 pages
- Edition: 2nd ed.
- Language: English
- Publisher: Apress
- Publication Date: 2017-12-07
- ISBN-10: 148422843X
- ISBN-13: 9781484228432
- Sales Rank: #3931288 (See Top 100 Books)
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
- Deploy Java applications on memory-constrained devices using compact profiles
- 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.
Table of Contents
Chapter 1: Programming Concepts
Chapter 2: Setting Up the Environment
Chapter 3: Writing Java Programs
Chapter 4: Data Types
Chapter 5: Operators
Chapter 6: Statements
Chapter 7: Classes
Chapter 8: Methods
Chapter 9: Constructors
Chapter 10: Modules
Chapter 11: Object and Objects Classes
Chapter 12: Wrapper Classes
Chapter 13: Exception Handling
Chapter 14: Assertions
Chapter 15: Strings
Chapter 16: Dates and Times
Chapter 17: Formatting Data
Chapter 18: Regular Expressions
Chapter 19: Arrays
Chapter 20: Inheritance
Chapter 21: Interfaces
Chapter 22: Enum Types
Chapter 23: Java Shell
Appendix A: Character Encodings
Appendix B: Documentation Comments