Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Java with Projects

You're reading from   Learn Java with Projects A concise practical guide to learning everything a Java professional really needs to know

Arrow left icon
Product type Paperback
Published in Nov 2023
Publisher Packt
ISBN-13 9781837637188
Length 598 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Maaike van Putten Maaike van Putten
Author Profile Icon Maaike van Putten
Maaike van Putten
Dr. Seán Kennedy Dr. Seán Kennedy
Author Profile Icon Dr. Seán Kennedy
Dr. Seán Kennedy
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Part 1: Java Fundamentals
2. Chapter 1: Getting Started with Java FREE CHAPTER 3. Chapter 2: Variables and Primitive Data Types 4. Chapter 3: Operators and Casting 5. Chapter 4: Conditional Statements 6. Chapter 5: Understanding Iteration 7. Chapter 6: Working with Arrays 8. Chapter 7: Methods 9. Part 2: Object-Oriented Programming
10. Chapter 8: Classes, Objects, and Enums 11. Chapter 9: Inheritance and Polymorphism 12. Chapter 10: Interfaces and Abstract Classes 13. Chapter 11: Dealing with Exceptions 14. Chapter 12: Java Core API 15. Part 3: Advanced Topics
16. Chapter 13: Generics and Collections 17. Chapter 14: Lambda Expressions 18. Chapter 15: Streams – Fundamentals 19. Chapter 16: Streams: Advanced Concepts 20. Chapter 17: Concurrency 21. Index

Preface

Welcome to the world of Java programming! Java is one of the most versatile and widely used programming languages in the world. Its platform independence, object-oriented nature, and extensive library support make it an ideal choice for developing a wide range of applications, from desktop to mobile and enterprise solutions.

Whether you are a novice eager to learn the fundamentals or an experienced developer seeking to enhance your skills, this book is designed to be your comprehensive guide to mastering the Java programming language. We start with the basics: how to get set up with an editor; and primitive data types; and progress systematically to more advanced concepts such as lambdas, streams, and concurrency.

This book is more than just a guide; it’s a companion on your journey to master Java. Our goal is to make this journey enjoyable and effective. This book adopts a hands-on approach, combining theoretical concepts with lots of practical exercises and a capstone project. Whether you are a self-learner or part of a formal educational program, the hands-on exercises and capstone project will help solidify your knowledge, making the learning experience engaging and practical.

Learning by doing is critical in mastering any programming language and we have taken that to heart in this book. At the end of each chapter, you’ll have a few exercises and a project that will help you get some experience with Java. The exercises are typically smaller tasks, and the project is a bit bigger. In all of them, you’ll have quite some freedom to choose how to implement it specifically. Why? Well, because that’s what it’s going to be like in real life as well! We will provide you with a sample solution, but if ours is a bit different, that doesn’t mean yours is bad. If you’re in doubt, ask some AI assistants such as ChatGPT what they think about your solution. Still unclear? We’re always willing to help you as well!

Alright, back to the exercises and projects. We wanted to choose a common theme for our exercises and projects. Believe it or not, but one of your writers (hint: it’s the female one) is surrounded by miniature gigantic historic reptile replicas during the writing of the book. In fact, currently, it’s hard to type because this enormous battery-powered Tyrannosaurus Rex tries to destroy my laptop.

I couldn’t help but draw quite some inspiration from that. So yes, all the exercises and projects will be dinosaur-themed, based on the collection and vivid fantasy play of my 5-year-old son. (I wake up around 5-6 AM. Not by my alarm clock, and definitely not because I’m part of the 5 AM club. No, I have this (most amazing) excited kid telling me fun facts about dinosaurs. Might as well put this knowledge to use!)

So, here’s your context: congratulations, you’re hired! You are now working for our special dinosaur zoo: Mesozoic Eden. It’s a unique blend of prehistoric wilderness and modern comfort, where humans and dinosaurs coexist. People can visit for a day, or camp here for several weeks.

At Mesozoic Eden, we house a rich variety of dinosaur species, each with its distinct behavior and lifestyle, ranging from the colossal Brachiosaurus to the swift-footed Velociraptor, the regal Tyrannosaurus Rex, and many more. We even have a state-of-the-art laboratory where we continue to discover and study new dinosaur breeds.

As part of our team, your role is not only about taking care of these majestic creatures and ensuring their well-being but also about maintaining the safety and security of our guests. Our park employs cutting-edge technology and stringent protocols to ensure a safe environment for all.

In the exercises and projects, you’ll take on various software development tasks as an employee of Mesozoic Eden, from coding software for feeding schedules to the app that handles emergency alerts, ensuring park operations run smoothly, and above all, creating an unforgettable experience for our visitors.

lock icon The rest of the chapter is locked
Next Section arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime