Sams Teach Yourself Java in 24 Hours (Covering Java 7 and Android)

( 6 )

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 ...

See more details below
Available through our Marketplace sellers and in stores.

Pick Up In Store Near You

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (12) from $15.90   
  • Used (12) from $15.90   
Close
Sort by
Page 1 of 2
Showing 1 – 10 of 12 (2 pages)
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$15.90
Seller since 2010

Feedback rating:

(2206)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Acceptable
Fair Pages have significant wear and cover is damaged. May have writing and highlighting throughout. All pages are intact. We ship daily Monday-Friday!

Ships from: Powder Springs, GA

Usually ships in 1-2 business days

  • Canadian
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$15.95
Seller since 2002

Feedback rating:

(11753)

Condition: Very Good
Has minor wear and/or markings. SKU:9780672335754-3-0

Ships from: Salem, OR

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$17.12
Seller since 2005

Feedback rating:

(248)

Condition: Very Good
2012 Paperback Very Good pp. 432. Very Good Condition! No writing, highlights or underlines! Sixth Edition. NO PRIORITY MAIL OR INTERNATIONAL SHIPPING ON THIS BOOK!

Ships from: Rodeo, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$18.96
Seller since 2014

Feedback rating:

(832)

Condition: Very Good
Excellent Condition. No wear/tear. Additional Supplements May not be Included unless previously specified. Please contact us if you have any Questions.

Ships from: Downingtown, PA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$19.08
Seller since 2005

Feedback rating:

(4040)

Condition: Good
sixth Good [ No Hassle 30 Day Returns ] [ Edition: sixth ] Publisher: Sams Pub Date: 10/31/2011 Binding: Paperback Pages: 432.

Ships from: College Park, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$19.08
Seller since 2005

Feedback rating:

(4040)

Condition: Good
sixth Good [ No Hassle 30 Day Returns ] [ Edition: sixth ] Publisher: Sams Pub Date: 10/31/2011 Binding: Paperback Pages: 432.

Ships from: College Park, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$33.76
Seller since 2013

Feedback rating:

(3)

Condition: Good
2011-10-31 Paperback Good Expedited shipping is available for this item!

Ships from: Burbank, CA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$44.95
Seller since 2014

Feedback rating:

(6)

Condition: Acceptable
Indianapolis, IN 2011 Trade paperback 6th ed. Fair. Trade paperback (US). Glued binding. 419 p. Contains: Illustrations, color, Figures. Sams Teach Yourself...in 24 Hours ... (Paperback). Read more Show Less

Ships from: Pueblo West, CO

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$44.99
Seller since 2005

Feedback rating:

(4040)

Condition: Good
sixth Good [ No Hassle 30 Day Returns ] [ Edition: sixth ] Publisher: Sams Pub Date: 10/31/2011 Binding: Paperback Pages: 432.

Ships from: College Park, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$44.99
Seller since 2005

Feedback rating:

(4040)

Condition: Good
sixth Good [ No Hassle 30 Day Returns ] [ Edition: sixth ] Publisher: Sams Pub Date: 10/31/2011 Binding: Paperback Pages: 432.

Ships from: College Park, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 2
Showing 1 – 10 of 12 (2 pages)
Close
Sort by
Sams Teach Yourself Java in 24 Hours (Covering Java 7 and Android)

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

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

Read More Show Less

Product Details

  • ISBN-13: 9780672335754
  • Publisher: Sams
  • Publication date: 11/4/2011
  • Series: Sams Teach Yourself Series
  • Edition number: 6
  • Pages: 432
  • Product dimensions: 7.40 (w) x 9.00 (h) x 1.10 (d)

Meet the Author

Rogers Cadenhead is a writer, computer programmer, and web developer who has written more than 20 books on Internet-related topics, including Sams Teach Yourself Java in 21 Days. He maintains the Drudge Retort and other websites that receive more than 20 million visits a year. This book’s official website is at www.java24hours.com.

Read More Show Less

Table of Contents

INTRODUCTION 1

PART I: Getting Started

HOUR 1: Becoming a Programmer

Choosing a Language 4

Telling the Computer What to Do 5

How Programs Work 7

When Programs Don’t Work 8

Choosing a Java Programming Tool 8

Installing a Java Development Tool 9

HOUR 2: Writing Your First Program

What You Need to Write Programs 13

Creating the Saluton Program 14

Beginning the Program 14

Storing Information in a Variable 17

Saving the Finished Product 18

Compiling the Program into a Class File 19

Fixing Errors 19

Running a Java Program 20

HOUR 3: Vacationing in Java

First Stop: Oracle 25

Going to School with Java 27

Lunch in JavaWorld 29

Watching the Skies at NASA 31

Getting Down to Business 32

Stopping by Java Boutique for Directions 33

Running Java on Your Phone 35

HOUR 4: Understanding How Java Programs Work

Creating an Application 39

Sending Arguments to Applications 41

Creating an Applet 42

PART II: Learning the Basics of Programming

HOUR 5: Storing and Changing Information in a Program

Statements and Expressions 49

Assigning Variable Types 50

Naming Your Variables 54

Storing Information in Variables 54

All About Operators 55

Using Expressions 59

HOUR 6: Using Strings to Communicate

Storing Text in Strings 65

Displaying Strings in Programs 66

Using Special Characters in Strings 67

Pasting Strings Together 68

Using Other Variables with Strings 68

Advanced String Handling 70

Presenting Credits 72

HOUR 7: Using Conditional Tests to Make Decisions

if Statements 79

if-else Statements 83

switch Statements 84

The Conditional Operator 86

Watching the Clock 87

HOUR 8: Repeating an Action with Loops

for Loops 95

while Loops 98

do-while Loops 99

Exiting a Loop 100

Naming a Loop 101

Testing Your Computer Speed 102

PART III: Working with Information in New Ways

HOUR 9: Storing Information with Arrays

Creating Arrays 108

Using Arrays 109

Multidimensional Arrays 111

Sorting an Array 111

Counting Characters in Strings 113

HOUR 10: Creating Your First Object

How Object-Oriented Programming Works 121

Objects in Action 122

What Objects Are 124

Understanding Inheritance 125

Building an Inheritance Hierarchy 125

Converting Objects and Simple Variables 127

Creating an Object 132

HOUR 11: Describing What Your Object Is Like

Creating Variables 137

Creating Class Variables 139

Creating Behavior with Methods 140

Putting One Class Inside Another 146

Using the this Keyword 147

Using Class Methods and Variables 148

HOUR 12: Making the Most of Existing Objects

The Power of Inheritance 155

Establishing Inheritance 157

Working with Existing Objects 159

Storing Objects of the Same Class in Vectors 160

Creating a Subclass 164

PART IV: Programming a Graphical User Interface

HOUR 13: Building a Simple User Interface

Swing and the Abstract Windowing Toolkit 169

Using Components 170

Creating Your Own Component 180

HOUR 14: Laying Out a User Interface

Using Layout Managers 187

Laying Out an Application 192

HOUR 15: Responding to User Input

Getting Your Programs to Listen 201

Setting Up Components to Be Heard 202

Handling User Events 202

Completing a Graphical Application 207

HOUR 16: Building a Complex User Interface

Scroll Panes 219

Sliders 222

Change Listeners 223

Using Image Icons and Toolbars 227

PART V: Moving into Advanced Topics

HOUR 17: Creating Interactive Web Programs

Standard Applet Methods 235

Putting an Applet on a Web Page 238

Creating an Applet 239

Sending Parameters from a Web Page 242

Handling Parameters in an Applet 243

Using the Object Tag 245

HOUR 18: Handling Errors in a Program

Exceptions 249

Throwing Exceptions 256

Throwing and Catching Exceptions 258

HOUR 19: Creating a Threaded Program

Threads 265

Working with Threads 270

Starting with init() 272

Catching Errors as You Set Up URLs 272

Handling Screen Updates in the paint() Method 273

Starting the Thread 274

Handling Mouse Clicks 276

Displaying Revolving Links 276

HOUR 20: Reading and Writing Files

Streams 283

Writing Data to a Stream 290

Reading and Writing Configuration Properties 292

PART VI: Writing Internet Applications

HOUR 21: Reading and Writing XML Data

Creating an XML File 299

Reading an XML File 302

Reading RSS Syndication Feeds 307

HOUR 22: Creating Web Services with JAX-WS

Defining a Service Endpoint Interface 313

Creating a Service Implementation Bean 316

Publishing the Web Service 317

Using Web Service Definition Language Files 318

Creating a Web Service Client 320

HOUR 23: Creating Java2D Graphics

Using the Font Class 327

Using the Color Class 328

Creating Custom Colors 329

Drawing Lines and Shapes 329

Baking a Pie Graph 333

HOUR 24: Writing Android Apps

Introduction to Android 343

Creating an Android App 345

Running the App 352

Designing a Real App 355

PART VII: Appendixes

APPENDIX A: Using the NetBeans Integrated Development Environment

Installing NetBeans 373

Creating a New Project 374

Creating a New Java Class 376

Running the Application 378

Fixing Errors 378

APPENDIX B: Where to Go from Here: Java Resources

Other Books to Consider 381

Oracle’s Official Java Site 382

Other Java Websites 383

Job Opportunities 385

APPENDIX C: This Book’s Website 387

APPENDIX D: Setting Up an Android Development Environment

Getting Started 389

Installing Eclipse 390

Installing Android SDK 390

Installing the Android Plug-in for Eclipse 391

Setting Up Your Phone 394

9780672335754 TOC 9/30/2011

Read More Show Less

Customer Reviews

Average Rating 4
( 6 )
Rating Distribution

5 Star

(4)

4 Star

(0)

3 Star

(0)

2 Star

(1)

1 Star

(1)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 6 Customer Reviews
  • Anonymous

    Posted December 12, 2012

    Awesome

    Thiboooks can teach you any rhing

    Was this review helpful? Yes  No   Report this review
  • Posted September 2, 2012

    I found this book to be extremely well written for people like m

    I found this book to be extremely well written for people like myself that have never tried programming before. Each chapter is really easy to follow and you will have all the basics down in no time. The only thing that would have made this book a little nicer was a glossary of Java terms, but I didn't dock a star because if you can't find it on Google then you probably already failed at life.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 6, 2012

    Sample won't dl or open

    Says reader cannot view file type.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 16, 2014

    No text was provided for this review.

  • Anonymous

    Posted February 16, 2013

    No text was provided for this review.

  • Anonymous

    Posted November 23, 2011

    No text was provided for this review.

Sort by: Showing all of 6 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)