Refine your Java skills by seamlessly blending foundational core concepts with hands-on coding applications
Key Features
- Gain a deep understanding of essential topics that will help you progress with Java
- Learn by working on mini-projects to help reinforce the concepts you’ve learned
- Gain comprehensive knowledge of the core concepts of Java
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Learn Java with Projects stands out in the world of Java guides; while some books skim the surface and others get lost in too much detail, this one finds a nice middle ground.
You’ll begin by exploring the fundamentals of Java, from its primitive data types through to loops and arrays. Next, you’ll move on to object-oriented programming (OOP), where you’ll get to grips with key topics such as classes and objects, inheritance, interfaces, lambda expressions, and more. The chapters are designed in a way that focuses on topics that really matter in real-life work situations. No extra fluff here, so that you get more time to spend on the basics and form a solid foundation. As you make progress, you’ll learn advanced topics including how to create your own generic types and streams. This book doesn't just talk about theory―it shows you how things work with little projects, which eventually add up to one big project that brings it all together.
By the end of this Java book, you’ll have sound practical knowledge of Java and a helpful guide to walk you through the important parts of Java.
What you will learn
- Get a clear understanding of Java fundamentals such as primitive types, operators, scope, conditional statements, loops, exceptions, and arrays
- Master OOP constructs such as classes, objects, enums, interfaces, and records
- Develop a deep understanding of OOP principles such as polymorphism, inheritance, and encapsulation
- Delve into the advanced topics of generics, collections, lambdas, streams, and concurrency
- Visualize what is happening in memory when you call a method or create an object
- Appreciate how effective learning-by-doing is
Who this book is for
This book is for anyone looking to learn the core concepts of Java. If you’re learning programming (and Java) for the first time or want to upskill to Java (with experience in a different language), then this book is for you. Prior knowledge of programming is helpful but not necessary.
Table of Contents
- Getting Started with Java
- Variables and Primitive Data Types
- Operators and Casting
- Conditional Statements
- Understanding Iteration
- Working with Arrays
- Methods
- Classes, Objects, and Enums
- Inheritance and Polymorphism
- Interfaces and Abstract Classes
- Dealing with Exceptions
- Java Core API
- Generics and Collections
- Lambda Expressions
- Streams - Fundamentals
- Streams: Advanced Concepts
- Concurrency