Skip to Content
Sams Teach Yourself Java™ in 24 Hours, Sixth Edition
book

Sams Teach Yourself Java™ in 24 Hours, Sixth Edition

by Rogers Cadenhead
October 2011
Beginner
432 pages
10h 18m
English
Sams

Overview

Sams Teach Yourself Java in 24 Hours, Sixth Edition
Covering Java 7 and Android Development

In just 24 lessons of one hour or less, you can learn how to create Java applications. Using a straightforward, step-by-step approach, 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.


Full-color figures and clear step-by-step instructions visually show you how to program with Java.


Quizzes and Exercises at the end of each chapter help you test your knowledge.


Notes, Tips, and Cautions provide related information, advice, and warnings.


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

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

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

    PART III: Working with Information in New Ways

    HOUR 9: Storing Information with Arrays
    HOUR 10: Creating Your First Object
    HOUR 11: Describing What Your Object Is Like
    HOUR 12: Making the Most of Existing Objects

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

    PART V: Moving into Advanced Topics
    HOUR 17: Creating Interactive Web Programs
    HOUR 18: Handling Errors in a Program
    HOUR 19: Creating a Threaded Program
    HOUR 20: Reading and Writing Files

    PART VI: Writing Internet Applications

    HOUR 21: Reading and Writing XML Data
    HOUR 22: Creating Web Services with JAX-WS
    HOUR 23: Creating Java2D Graphics
    HOUR 24: Writing Android Apps

    PART VII: Appendixes
    APPENDIX A: Using the NetBeans Integrated Development Environment
    APPENDIX B: Where to Go from Here: Java Resources
    APPENDIX C: This Book’s Website
    APPENDIX D: Setting Up an Android Development Environment

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Java™ Phrasebook

    Java™ Phrasebook

    Timothy Fisher

    Publisher Resources

    ISBN: 9780132841702Purchase book