Java in easy steps, 7th edition


Buy direct from us:

In Stock

SKU: 8730

Create your own exciting Java programs and compile them into executable files that can be run on any Java-enabled device

192 pages
By: Mike McGrath
Publication: July 31st, 2019
ISBN: 9781840788730

View first chapter and Table of ContentsFREE!

ebook (PDF) version also available

Java in easy steps, 7th edition instructs you how to easily create your own Java programs. The book contains separate chapters on the major features of the Java language. Complete example programs with colourized code illustrate each important aspect of Java programming – all in easy steps.

This book assumes no previous knowledge of any programming language so it’s ideal for the newcomer to computer programming. Each chapter builds your knowledge of Java. By the end of this book you will have gained a sound understanding of the Java language and be able to write your own Java programs and compile them into executable files that can be run on any Java-enabled device.

This 7th edition of Java in easy steps covers the many exciting features of Java, including:

  • How to quickly run statements in the interactive shell named jshell – similar to the Python interpreter:
  • How to make programs with the javac compiler and execute them with the java runtime.
  • How to produce interactive Windows apps that can be easily distributed as jar program bundles.
  • How to create mobile device apps using Java functionality within the Android operating system.










All examples illustrated in the book work in Oracle JDK and OpenJDK.



About the author

Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.

  1. Getting started
  2. Performing operations
  3. Making statements
  4. Directing values
  5. Manipulating data
  6. Creating classes
  7. Importing functions
  8. Building interfaces
  9. Recognizing events
  10. Deploying programs

Freely download the original source code for checking against your own work from our Downloads page

Update to page 9 (tip added re: AdoptOpenJDK being scheduled to become EclipseAdoptium) – this revision was incorporated in the 2021 reprint.

Update to page 178 (missing quote mark added after contentDescription = “Lotto Logo)

Reviews from Amazon readers:

5 stars Simply the best book for the beginner – it will get you started.
I think previous reviewers who have dissed this book for being too simplistic are missing the point – IT IS A BOOK FOR BEGINNERS – and it serves that readership very well. Clearly a lot of thought was given to who the book is for – this is a very welcome change in a computer book!
So many instruction books in computing seem to be written with no clearly defined readership (and the level of knowledge and experience they may already have) in mind.
It seems that the ‘Easy Steps’ series of books set a high professional level of writing and publishing skills – they target a defined readership in an intelligent way and they keep that readership in mind – they don’t let their author’s run off at the mouth and lose contact with the reader.
This book does what it intends to do – get you started in Java programming – and it lays a good basis for you to then move on to higher levels.
It is clearly written, intelligently structured, and well illustrated. If you are reasonably computer savvy, but not an experienced programmer, and you want to start programming with Java – buy this book.

5 stars Brilliant little book
I purchased Head First Java and Java in Easy Steps at the same time to prepare for a college course I’m undertaking in August. The reviews were excellent for both books, but for me, Mike McGrath’s book trounces the Head First Java – and at a third of the price.
The book is in full colour and tastefully laid out with help on installing the Java Development Kit properly and making sure the correct paths are set up. The information is presented in a clear, straightforward manner and everything is explained well enough that I don’t think an additional outside source is needed – unlike the Head First Java book which is a complete, unfunny mess.
I can recommend Java in easy steps 100% and after just a week can program small but useful programs and have assured myself I will be able to conquer my I.T. course in a few months.

You may also like…