Book description
Explore the essential concepts of programming such as object-oriented, functional, and reactive programming by writing code and building projects using the latest LTS version of Java
Key Features
- A step-by-step guide for beginners to get started with programming in Java 17
- Explore core programming topics including GUI programming, concurrency, and error handling
- Write efficient code and build projects while learning the fundamentals of programming
Book Description
Java is one of the most preferred languages among developers. It is used in everything right from smartphones and game consoles to even supercomputers, and its new features simply add to the richness of the language.
This book on Java programming begins by helping you learn how to install the Java Development Kit. You'll then focus on understanding object-oriented programming (OOP), with exclusive insights into concepts such as abstraction, encapsulation, inheritance, and polymorphism, which will help you when programming for real-world apps. Next, you'll cover fundamental programming structures of Java such as data structures and algorithms that will serve as the building blocks for your apps with the help of sample programs and practice examples. You'll also delve into core programming topics that will assist you with error handling, debugging, and testing your apps. As you progress, you'll move on to advanced topics such as Java libraries, database management, and network programming and also build a sample project to help you understand the applications of these concepts.
By the end of this Java book, you'll not only have become well-versed with Java 17 but also gained a perspective into the future of this language and have the skills to code efficiently with best practices.
What you will learn
- Understand and apply object-oriented principles in Java
- Explore Java design patterns and best practices to solve everyday problems
- Build user-friendly and attractive GUIs with ease
- Understand the usage of microservices with the help of practical examples
- Discover techniques and idioms for writing high-quality Java code
- Get to grips with the usage of data structures in Java
Who this book is for
This book is for those who would like to start a new career in the modern Java programming profession, as well as those who do it professionally already and would like to refresh their knowledge of the latest Java and related technologies and ideas.
Table of contents
- Learn Java 17 Programming
- Second Edition
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: Overview of Java Programming
- Chapter 1: Getting Started with Java 17
- Chapter 2: Java Object-Oriented Programming (OOP)
- Chapter 3: Java Fundamentals
- Part 2: Building Blocks of Java
- Chapter 4: Exception Handling
- Chapter 5: Strings, Input/Output,and Files
- Chapter 6: Data Structures, Generics, and Popular Utilities
- Chapter 7: Java Standard and External Libraries
-
Chapter 8: Multithreading and Concurrent Processing
- Technical requirements
- Thread versus process
- User thread versus daemon
- Extending the Thread class
- Implementing the Runnable interface
- Extending Thread versus implementing Runnable
- Using a pool of threads
- Getting results from a thread
- Parallel versus concurrent processing
- Concurrent modification of the same resource
- Summary
- Quiz
- Chapter 9: JVM Structure and Garbage Collection
- Chapter 10: Managing Data in a Database
- Chapter 11: Network Programming
- Chapter 12: Java GUI Programming
- Part 3: Advanced Java
- Chapter 13: Functional Programming
- Chapter 14: Java Standard Streams
- Chapter 15: Reactive Programming
- Chapter 16: Java Microbenchmark Harness
- Chapter 17: Best Practices for Writing High-Quality Code
-
Assessments
- Chapter 1 – Getting Started with Java 17
- Chapter 2 – Java Object-Oriented Programming (OOP)
- Chapter 3 – Java Fundamentals
- Chapter 4 – Exception Handling
- Chapter 5 – Strings, Input/Output, and Files
- Chapter 6 – Data Structures, Generics, and Popular Utilities
- Chapter 7 – Java Standard and External Libraries
- Chapter 8 – Multithreading and Concurrent Processing
- Chapter 9 – JVM Structure and Garbage Collection
- Chapter 10 – Managing Data in a Database
- Chapter 11 – Network Programming
- Chapter 12 – Java GUI Programming
- Chapter 13 – Functional Programming
- Chapter 14 – Java Standard Streams
- Chapter 15 – Reactive Programming
- Chapter 16 – Java Microbenchmark Harness
- Chapter 17 – Best Practices for Writing High-Quality Code
- Why subscribe?
- Other Books You May Enjoy
Product information
- Title: Learn Java 17 Programming - Second Edition
- Author(s):
- Release date: July 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803241432
You might also like
book
Learning Java, 4th Edition
Java is the preferred language for many of today’s leading-edge technologies—everything from smartphones and game consoles …
book
Learning Java, 5th Edition
If you're new to Java—or new to programming—this best-selling book will guide you through the language …
book
Learn Java with Projects
Refine your Java skills by seamlessly blending foundational core concepts with hands-on coding applications Key Features …
book
Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17
Learn the fundamentals of the Java 17 LTS or Java Standard Edition version 17 Long Term …