Java in 24 Hours, Sams Teach Yourself (Covering Java 9)

Rogers Cadenhead  
Sams Publishing
Total pages
September 2017
Related Titles

Product detail

Product Price CHF Available  
Java in 24 Hours, Sams Teach Yourself (Covering Java 9)
39.30 approx. 7-9 days


In arenas ranging from enterprise development to Android app programming to game development, Java remains one of the world's most popular programming languages. Sams Teach Yourself Java in 24 Hours helps Java beginners gain true mastery over the new Java 9.


In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping readers learn Java's core features and techniques from the ground up. Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating.


Coverage includes: learning programming basics; working with data and objects; programming graphical user interfaces; creating interactive web programs; handling errors; writing Internet and mobile apps; and much more.


  • Updated with fresh, improved examples
  • Covers Java 9 features such as modularization
  • Teaches Java as a first programming language: short, simple, one-hour chapters are ideal for the beginner with no previous programming experience
  • Clearly written, interesting to read, and the nationally known author's unique sense of humor makes learning Java fun and entertaining

New to this Edition

Java 9 and new features such as JDK modularization are covered in this new edition. The book's examples have been extensively refreshed and updated, with more visual examples and diagrams. This edition of the book continues to use the NetBeans IDE, which has proven to be helpful for readers who don't want to master a command-line environment just to develop Java programs.

Table of Contents

Part I: Getting Started
1 Becoming a Programmer
2 Writing Your First Program
3 Vacationing in Java
4 Understanding How Java Programs Work

Part II: Learning the Basics of Programming
5 Storing and Changing Information in a Program
6 Using Strings to Communicate
7 Using Conditional Tests to Make Decisions
8 Repeating an Action with Loops

Part III: Working with Information in New Ways
9 Storing Information with Arrays
10 Creating Your First Object
11 Describing What Your Object is Like
12 Making the Most of Existing Objects

Part IV: Programming a Graphical User Interface
13 Building a Simple User Interface
14 Laying Out a User Interface
15 Responding to User Input
16 Building a Complex User Interface

Part V: Moving into Advanced Topics
17 Storing Objects in Data Structures
18 Handling Errors in a Program
19 Creating a Threaded Program
20 Using Inner Classes and Closures

Part VI: Writing Internet Applications
21 Reading and Writing Files
22 Creating Web Services with JAX-WS
23 Working with Java2D Graphics
24 Writing Android Apps

A: Using the NetBeans Integrated Development Environment
B: Where to Go from Here: Java Resources
C: This Book's Web Site
D: Setting Up an Android Development Environment