A comprehensive guide to get started with Java and gain insights into object-oriented, functional, and reactive programming by writing code and building projects
Key Features
- Comprehensive guide for absolute beginners to get started with programming in Java 17
- Explore core programming topics including GUI programming, concurrency, and error handling
- Write efficient codes and build projects while learning the fundamentals of programming
Book Description
Java is one of the preferred languages among developers, 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 will then focus on understanding object-oriented programming (OOP), with exclusive insights into concepts like 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 sample programs and practice examples. You will 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 book, you'll not only be well versed with Java 17 but also gain a perspective into the future of this language and code efficiently with best practices.
What you will learn
- Learn and apply object-oriented principles in Java
- Explore Java design patterns and best practices to solve everyday problems
- Build a user-friendly and attractive GUIs with ease
- Understand the usage of microservices with practical examples
- Learn techniques and idioms for writing high-quality Java code
- Dig deeper into usage of data structures in Java
Who This Book Is For
Students, software developers, or anyone looking to learn new skills or even a language will find this book useful. Although this book is for beginners, professional programmers can benefit from it too. Previous knowledge of Java or any programming language is not required.
Table of Contents
- Getting started with Java 17
- Java Object-Oriented Programming (OOP)
- Java fundamentals
- Exception handling
- Strings, input/output, and files
- Data structures, generics and popular utilities
- Java standard and external libraries
- Multithreading and concurrent processing
- Java Microbenchmark Harness
- JVM structure and garbage collection
- Manage data in the database
- Network programming
- Java GUI programming
- Java standard streams
- Functional programming
- Reactive programming
- Spring Boot
- Microservices
- Best practices for writing high-quality code