Learn Java the Easy Way 

A Hands-On Introduction to Programming

Look inside
Java is the world’s most popular programming language, but it’s known for having a steep learning curve. Learn Java the Easy Way takes the chore out of learning Java with hands-on projects that will get you building real, functioning apps right away.

You’ll start by familiarizing yourself with JShell, Java’s interactive command line shell that allows programmers to run single lines of code and get immediate feedback. Then, you’ll create a guessing game, a secret message encoder, and a multitouch bubble-drawing app for both desktop and mobile devices using Eclipse, an industry-standard IDE, and Android Studio, the development environment for making Android apps.

As you build these apps, you’ll learn how to:
-Perform calculations, manipulate text strings, and generate random colors
-Use conditions, loops, and methods to make your programs responsive and concise
-Create functions to reuse code and save time
-Build graphical user interface (GUI) elements, including buttons, menus, pop-ups, and sliders 
-Take advantage of Eclipse and Android Studio features to debug your code and find, fix, and prevent common mistakes

If you’ve been thinking about learning Java, Learn Java the Easy Way will bring you up to speed in no time.
Introduction

Chapter 1: Getting to Know Java with JShell
Chapter 2: Build a Hi-Lo Guessing Game App!
Chapter 3: Creating a GUI for Our Guessing Game
Chapter 4: Creating Your First Android App
Chapter 5: Deciphering Secret Messages
Chapter 6: Creating Advanced GUIs and Sharing Your App
Chapter 7: Make a Secret Messages App to Share with Friends!
Chapter 8: Draw Colorful, Object-Oriented Bubbles with Your Mouse!
Chapter 9: Adding Animation and Collision Detection with Timers
Chapter 10: Making BubbleDraw a Multi-Touch Android App

Appendix A: Saving High Scores, Creating Settings Menus, and Sending Messages on Android
Appendix B: Debugging
Glossary
Solutions (online)
Bryson Payne is a professor of computer science at the University of North Georgia, where he has taught for more than 17 years. He previously taught middle-school math and programming and continues to work extensively with K–12 schools to promote technology education. He is the author of Teach Your Kids to Code, also from No Starch Press.

About

Java is the world’s most popular programming language, but it’s known for having a steep learning curve. Learn Java the Easy Way takes the chore out of learning Java with hands-on projects that will get you building real, functioning apps right away.

You’ll start by familiarizing yourself with JShell, Java’s interactive command line shell that allows programmers to run single lines of code and get immediate feedback. Then, you’ll create a guessing game, a secret message encoder, and a multitouch bubble-drawing app for both desktop and mobile devices using Eclipse, an industry-standard IDE, and Android Studio, the development environment for making Android apps.

As you build these apps, you’ll learn how to:
-Perform calculations, manipulate text strings, and generate random colors
-Use conditions, loops, and methods to make your programs responsive and concise
-Create functions to reuse code and save time
-Build graphical user interface (GUI) elements, including buttons, menus, pop-ups, and sliders 
-Take advantage of Eclipse and Android Studio features to debug your code and find, fix, and prevent common mistakes

If you’ve been thinking about learning Java, Learn Java the Easy Way will bring you up to speed in no time.

Table of Contents

Introduction

Chapter 1: Getting to Know Java with JShell
Chapter 2: Build a Hi-Lo Guessing Game App!
Chapter 3: Creating a GUI for Our Guessing Game
Chapter 4: Creating Your First Android App
Chapter 5: Deciphering Secret Messages
Chapter 6: Creating Advanced GUIs and Sharing Your App
Chapter 7: Make a Secret Messages App to Share with Friends!
Chapter 8: Draw Colorful, Object-Oriented Bubbles with Your Mouse!
Chapter 9: Adding Animation and Collision Detection with Timers
Chapter 10: Making BubbleDraw a Multi-Touch Android App

Appendix A: Saving High Scores, Creating Settings Menus, and Sending Messages on Android
Appendix B: Debugging
Glossary
Solutions (online)

Author

Bryson Payne is a professor of computer science at the University of North Georgia, where he has taught for more than 17 years. He previously taught middle-school math and programming and continues to work extensively with K–12 schools to promote technology education. He is the author of Teach Your Kids to Code, also from No Starch Press.

Books for National Depression Education and Awareness Month

For National Depression Education and Awareness Month in October, we are sharing a collection of titles that educates and informs on depression, including personal stories from those who have experienced depression and topics that range from causes and symptoms of depression to how to develop coping mechanisms to battle depression.

Read more

Horror Titles for the Halloween Season

In celebration of the Halloween season, we are sharing horror books that are aligned with the themes of the holiday: the sometimes unknown and scary creatures and witches. From classic ghost stories and popular novels that are celebrated today, in literature courses and beyond, to contemporary stories about the monsters that hide in the dark, our list

Read more

Books for LGBTQIA+ History Month

For LGBTQIA+ History Month in October, we’re celebrating the shared history of individuals within the community and the importance of the activists who have fought for their rights and the rights of others. We acknowledge the varying and diverse experiences within the LGBTQIA+ community that have shaped history and have led the way for those

Read more