Home > Store

Java in 24 Hours, Sams Teach Yourself (Covering Java 8), 7th Edition

Register your product to gain access to bonus material or receive a coupon.

Java in 24 Hours, Sams Teach Yourself (Covering Java 8), 7th Edition

Best Value Purchase

Book + eBook Bundle

  • Your Price: $41.79
  • List Price: $67.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $31.99
  • List Price: $39.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $22.39
  • List Price: $27.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

About

Features

  • Updated with fresh, improved examples
  • Covers Java 8 features such as lambda expressions
  • 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

Description

  • Copyright 2014
  • Dimensions: 7-1/2" x 9-1/8"
  • Pages: 448
  • Edition: 7th
  • Book
  • ISBN-10: 0-672-33702-9
  • ISBN-13: 978-0-672-33702-4

Sams Teach Yourself Java in 24 Hours, Seventh Edition

Covers Java 8 and Android Development

In just 24 lessons of one hour or less, you can learn the fundamentals of Java programming.

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. Full-color figures and clear instructions visually show you how to program with Java.

Popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even an Android app in Java.

Learn how to…

  • Set up your Java programming environment
  • Write your first working program in just minutes
  • Control program decisions and behavior
  • Store and work with information
  • Build straightforward user interfaces
  • Create interactive web programs
  • Use threading to build more responsive programs
  • Read and write files and XML data
  • Master best practices for object-oriented programming
  • Create flexible, interoperable web services with JAX-WS
  • Use Java to create an Android app
  • Expand your skills with closures, the powerful new capability introduced in Java 8

Contents at a Glance

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

21 Reading and Writing Files

22 Creating Web Services with JAX-WS

23 Creating Java2D Graphics

24 Writing Android Apps

Appendixes

A Using the NetBeans Integrated Development Environment

B Where to Go from Here: Java Resources

C This Book’s Website

D Setting Up an Android Development Environment

Downloads

Downloads

Please download the files associated with Java in 24 Hours here.

Extras

Author's Site

Please visit the author's site, www.java24hours.com

Sample Content

Online Sample Chapter

Writing Your First Java Program

Sample Pages

Download the sample pages (includes Chapter 2 and Index)

Table of Contents

PART I: Getting Started

Hour 1: Becoming a Programmer

Choosing a Language

Telling the Computer What to Do

How Programs Work

When Programs Don’t Work

Choosing a Java Programming Tool

Installing a Java Development Tool

Hour 2: Writing Your First Program

What You Need to Write Programs

Creating the Saluton Program

Beginning the Program

Storing Information in a Variable

Saving the Finished Product

Compiling the Program into a Class File

Fixing Errors

Running a Java Program

Hour 3: Vacationing in Java

First Stop: Oracle

Going to School with Java

Lunch in JavaWorld

Watching the Skies at NASA

Getting Down to Business

Stopping by SourceForge for Directions

Running Java on Your Phone

Hour 4: Understanding How Java Programs Work

Creating an Application

Sending Arguments to Applications

The Java Class Library

PART II: Learning the Basics of Programming

Hour 5: Storing and Changing Information in a Program

Statements and Expressions

Assigning Variable Types

Naming Your Variables

Storing Information in Variables

All About Operators

Using Expressions

Hour 6: Using Strings to Communicate

Storing Text in Strings

Displaying Strings in Programs

Using Special Characters in Strings

Pasting Strings Together

Using Other Variables with Strings

Advanced String Handling

Presenting Credits

Hour 7: Using Conditional Tests to Make Decisions

if Statements

if-else Statements

switch Statements

The Ternary Operator

Watching the Clock

Hour 8: Repeating an Action with Loops

for Loops

while Loops

do-while Loops

Exiting a Loop

Naming a Loop

Testing Your Computer Speed

PART III: Working with Information in New Ways

Hour 9: Storing Information with Arrays

Creating Arrays

Using Arrays

Multidimensional Arrays

Sorting an Array

Counting Characters in Strings

Hour 10: Creating Your First Object

How Object-Oriented Programming Works

Objects in Action

What Objects Are

Understanding Inheritance

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership