Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2018

Java for Absolute Beginners

Learn to Program the Fundamentals the Java 9+ Way



  • Written by a Java expert, experienced trainer and author of certification exam study guides

  • Covers new features introduced in Java versions 10 and 11, such as local-variable type inference and local variable syntax for Lambda expressions

  • Includes coverage of new JSON, JavaFX, Streaming APIs and more

  • 32k Accesses

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-3778-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout

This is a preview of subscription content, access via your institution.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xx
  2. An Introduction to Java and Its History

    • Iuliana Cosmina
    Pages 1-22
  3. Preparing Your Development Environment

    • Iuliana Cosmina
    Pages 23-47
  4. Getting Your Feet Wet

    • Iuliana Cosmina
    Pages 49-97
  5. Java Syntax

    • Iuliana Cosmina
    Pages 99-151
  6. Data Types

    • Iuliana Cosmina
    Pages 153-206
  7. Operators

    • Iuliana Cosmina
    Pages 207-242
  8. Controlling the Flow

    • Iuliana Cosmina
    Pages 243-280
  9. The Stream API

    • Iuliana Cosmina
    Pages 281-315
  10. Debugging, Testing, and Documenting

    • Iuliana Cosmina
    Pages 317-408
  11. Making Your Application Interactive

    • Iuliana Cosmina
    Pages 409-469
  12. Working with Files

    • Iuliana Cosmina
    Pages 471-530
  13. The Publish/Subscribe Framework

    • Iuliana Cosmina
    Pages 531-558
  14. Garbage Collection

    • Iuliana Cosmina
    Pages 559-597
  15. Back Matter

    Pages 599-612

About this book

Write your first code in Java using simple, step-by-step examples that model real-word objects and events, making learning easy. With this book you’ll be able to pick up the concepts without fuss. Java for Absolute Beginners teaches Java development in language anyone can understand, giving you the best possible start. You’ll see clear code descriptions and layout so that you can get your code running as soon as possible. After reading this book, you'll come away with the basics to get started writing programs in Java.

Author Iuliana Cosmina focuses on practical knowledge and getting up to speed quickly—all the bits and pieces a novice needs to get started programming in Java. First, you’ll discover how Java is executed, what type of language it is, and what it is good for. With the theory out of the way, you’ll install Java, choose an editor such as IntelliJ IDEA, and write your first simple Java program. Along the way you’ll compile and execute this program so it can run on any platform that supports Java. As part of this tutorial you’ll see how to write high-quality code by following conventions and respecting well-known programming principles, making your projects more professional and efficient.

Finally, alongside the core features of Java, you’ll learn skills in some of the newest and most exciting features of the language: Generics, Lambda expressions, modular organization, local-variable type inference, and local variable syntax for Lambda expressions.

Java for Absolute Beginners gives you all you need to start your Java 9+ programming journey. No experience necessary.

 What You'll Learn

  • Use data types, operators, and the new stream API
  • Install and use a build tool such as Gradle
  • Build interactive Java applications with JavaFX 
  • Exchange data using the new JSON APIs 
  • Play with images using multi-resolution APIs
  • Use the publish-subscribe framework

Who This Book Is For

Those who are new to programming and who want to start with Java.


  • Java 9
  • Java
  • programming
  • language
  • OpenJDK
  • Apache
  • software
  • application
  • development
  • source
  • code
  • beginners
  • absolute
  • JDK 9

Authors and Affiliations

  • Edinburgh, UK

    Iuliana Cosmina

About the author

Iuliana Cosmina is currently a Software Engineer for NCR Edinburgh. She has been writing Java code since 2002 and contributed to various types of applications such as experimental search engines, ERPs, track and trace, and banking. During her career, she has been a teacher, a team leader, software architect, DevOps professional and software manager.

She is a Spring-certified Professional, as defined by Pivotal, the makers of Spring Framework, Boot, and other tools, and considers Spring the best Java framework to work with.

When she is not programming, she spends her time reading, blogging, learning to play piano, travelling, hiking or biking.

Bibliographic Information

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-3778-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout