0%

Book Description

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. 

Table of Contents

  1. Cover
  2. Frontmatter
  3. 1. Programming Concepts
  4. 2. Setting Up the Environment
  5. 3. Writing Java Programs
  6. 4. Data Types
  7. 5. Operators
  8. 6. Statements
  9. 7. Classes
  10. 8. Methods
  11. 9. Constructors
  12. 10. Modules
  13. 11. Object and Objects Classes
  14. 12. Wrapper Classes
  15. 13. Exception Handling
  16. 14. Assertions
  17. 15. Strings
  18. 16. Dates and Times
  19. 17. Formatting Data
  20. 18. Regular Expressions
  21. 19. Arrays
  22. 20. Inheritance
  23. 21. Interfaces
  24. 22. Enum Types
  25. 23. Java Shell
  26. Backmatter
3.145.53.112