Java All-in-One For Dummies

( 2 )


Everything you need to get going with Java!

Java All-in-One For Dummies, 4th Edition has what you need to get up and running quickly with Java. Covering the enhanced mobile development and syntax features as well as programming improvements, this guide makes it easy to find what you want and put it to use.

  • Focuses on the vital information that enables you to get up and ...
See more details below
$26.00 price
(Save 34%)$39.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (15) from $22.03   
  • New (12) from $22.03   
  • Used (3) from $22.20   
Sending request ...


Everything you need to get going with Java!

Java All-in-One For Dummies, 4th Edition has what you need to get up and running quickly with Java. Covering the enhanced mobile development and syntax features as well as programming improvements, this guide makes it easy to find what you want and put it to use.

  • Focuses on the vital information that enables you to get up and running quickly with Java
  • Covers the enhanced multimedia features as well as programming enhancements, Java and XML, Swing, server-side Java, Eclipse, and more
  • Minibooks cover Java basics; programming basics; strings, arrays, and collections; programming techniques; Swing; Web programming; files and databases; and a "fun and games" category

Java All-in-One For Dummies, 4th Edition focuses on the practical information you need to become productive with Java right away.

Read More Show Less

Product Details

  • ISBN-13: 9781118408032
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 3/24/2014
  • Edition number: 4
  • Pages: 960
  • Sales rank: 260,741
  • Product dimensions: 7.30 (w) x 9.20 (h) x 1.90 (d)

Meet the Author

Doug Lowe began writing programming books before Java was invented. He's covered COBOL, Fortran, Visual Basic, Web programming, and more, and is the bestselling author of more than 30 For Dummies books, including all editions of Java All-in-One For Dummies.
Read More Show Less

Table of Contents

Introduction 1

Book I: Java Basics 7

Chapter 1: Welcome to Java 9

Chapter 2: Installing and Using Java Tools 21

Chapter 3: Working with TextPad 35

Book II: Programming Basics 43

Chapter 1: Java Programming Basics 45

Chapter 2: Working with Variables and Data Types 65

Chapter 3: Working with Numbers and Expressions 97

Chapter 4: Making Choices 125

Chapter 5: Going Around in Circles (Or, Using Loops) 147

Chapter 6: Pulling a Switcheroo 173

Chapter 7: Adding Some Methods to Your Madness 185

Chapter 8: Handling Exceptions 203

Book III: Object-Oriented Programming 223

Chapter 1: Understanding Object-Oriented Programming 225

Chapter 2: Making Your Own Classes 237

Chapter 3: Working with Statics 253

Chapter 4: Using Subclasses and Inheritance 261

Chapter 5: Using Abstract Classes and Interfaces 281

Chapter 6: Using the Object and Class Classes 293

Chapter 7: Packaging and Documenting Your Classes 319

Book IV: Strings, Arrays, and Collections 335

Chapter 1: Working with Strings 337

Chapter 2: Using Arrays 355

Chapter 3: Using the ArrayList Class383

Chapter 4: Using the LinkedList Class 395

Chapter 5: Creating Generic Collection Classes 407

Book V: Programming Techniques 421

Chapter 1: Programming Threads 423

Chapter 2: Network Programming 451

Chapter 3: Using Regular Expressions 475

Chapter 4: Using Recursion 491

Book VI: Swing 505

Chapter 1: Swinging into Swing 507

Chapter 2: Handling Events 523

Chapter 3: Getting Input from the User 541

Chapter 4: Choosing from a List 569

Chapter 5: Using Layout Managers 593

Book VII: Web Programming 615

Chapter 1: Creating Applets 617

Chapter 2: Creating Servlets 625

Chapter 3: Using JavaServer Pages 647

Book VIII: Files and Databases 661

Chapter 1: Working with Files 663

Chapter 2: Working with File Streams 685

Chapter 3: Database for $100, Please 713

Chapter 4: Using JDBC to Connect to a Database 729

Chapter 5: Working with XML 747

Book IX: Fun and Games 765

Chapter 1: Fun with Fonts and Colors 767

Chapter 2: Drawing Shapes 781

Chapter 3: Using Images and Sound 803

Chapter 4: Animation and Game Programming 817

Bonus Chapters on the Companion Web Site ....

Bonus Chapter 1: Using Eclipse

Bonus Chapter 2: Using BigDecimals

Bonus Chapter 3: Twiddling Your Bits

Bonus Chapter 4: Making Menus

Bonus Chapter 5: Using JavaBeans

Index 835

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & 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 & 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 & 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 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


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & 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 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 2 Customer Reviews
  • Anonymous

    Posted October 18, 2013

    EXCELLENT for beginners

    I give this four stars because, while it does cover a whole wide range of topics extensively and explains Java concepts in a layman-friendly way, it also skims a couple of very important topics like XML, File I/O, and web development. Understandable though, as those are fairly large topics in themselves. But for everything else this book is a tremendous boost for beginners; it was for me!

    1 out of 1 people found this review helpful.

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

    Posted November 21, 2011

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

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