Learn Java the Easy Way

Learn Java the Easy Way
A Hands-On Introduction to Programming
Bryson Payne
September 2017, 352 pp.

Order now and get early access to the PDF ebook!
(What's Early Access?)
(Which chapters are available now?)

Get 30% off with the coupon code EARLYBIRD

Java is the world’s most popular programming language, but it’s known for having a steep learning curve. The editors at No Starch Press have worked to lower that learning curve with Bryson Payne’s latest book, Learn Java the Easy Way. Finally, a hands-on introduction to learning Java programming that will take you from absolute beginner to building Android and desktop apps.

Bryson Payne, author of the best-selling Teach Your Kids to Code, begins with a Java crash course designed to bring first time programmers up to speed in JShell, an exciting new Java tool that simplifies Java development by allowing programmers to run single lines of code to get immediate feedback. Next, Payne takes you step-by-step through creating Java-based mobile and desktop apps including a guessing game, secret message encoder, and a multi-touch Android app.

As you build you’ll learn how to use conditions, loops, and variables; create reusable methods; build a graphical user interface (GUI) and animations; even how to debug your code and deal with common mistakes.

Learn how to:

  • Use JShell to test short programs, and see the results of your work right away
  • Use conditions, loops, and methods
  • Create functions to reuse code and save time
  • Build a graphical user interface (GUI) and animations for desktop and Android apps
  • Share your apps with friends or the rest of the world
  • Debug your code and find, fix, and prevent common mistakes

If you’ve been thinking about learning Java, Learn Java the Easy will will get you up to speed quickly, with minimal headache.

Author Bio 

Bryson Payne is a Professor of Computer Science at the University of North Georgia, where he has taught for over 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.

Table of contents 


Installing Java, Eclipse, and Android Studio
Chapter 1: Getting to Know Java with JShell (AVAILABLE NOW)
Chapter 2: Build a Hi-Lo Guessing Game App! (AVAILABLE NOW)
Chapter 3: Creating a GUI for Our Guessing Game (AVAILABLE NOW)
Chapter 4: Creating Your First Android App (AVAILABLE NOW)
Chapter 5: Deciphering Secret Messages (AVAILABLE NOW)
Chapter 6: Creating Advanced GUIs and Sharing Your App (AVAILABLE NOW)
Chapter 7: Make Secret Messages a Phone App to Share with Friends! (AVAILABLE NOW)
Chapter 8: Paint Colorful Bubbles with Your Mouse! (AVAILABLE NOW)
Chapter 9: Adding Animation and Collision Detection with Timers (AVAILABLE NOW)
Chapter 10: Making BubbleDraw a Multitouch Android App (AVAILABLE NOW)
Appendix A: Creating Options Menus and Saving High Scores
Appendix B: Debugging and Avoiding Common Errors in Java (AVAILABLE NOW)