The best-selling Java tutorial, now updated and expanded for Java 6, the new version of today's #1 programming languageTeaches Java as a first programming language, through short, simple chapters that can be completed in no more than an hour eachNew online Learning Lab offers video walkthroughs of all examples, detailed quiz answers, starter software, and sample filesIncludes new chapters on creating Facebook widgets and building web services with javax.xml.ws, plus many new examplesIn arenas ranging from enterprise development to cellphone games, Java remains one of the world's most popular programming languages. Sams Teach Yourself Java in 24 Hours, 5/e, will help Java beginners gain true mastery over the new Java 6. In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping you 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 applications and web services; and much more. This edition's examples have been extensively updated, and there are brand-new chapters on building web services and creating today's popular Facebook widgets. In addition, you now learn Java using NetBeans, Sun's free, easy-to-use integrated development environment - not the more difficult JDK. For the first time, this book is supported with a complete online Learning Lab that offers video walkthroughs of all examples, plus detailed quiz answers, and all the sample software and files you will need. By the time you are finished with this book's lessons, you won't just understand Java: you'll be comfortable using it in real-world projects.