In just 21 days you can acquire the kwledge and skills necessary to develop applications on your computer and apps that run on Android phones and tablets. With this complete tutorial you'll quickly master the basics and then move on to more advanced features and concepts. Completely updated for Java 8, this book teaches you about the Java language and how to use it to create applications for any computing environment and Android apps. By the time you have finished the book, you'll have well-rounded kwledge of Java and the Java class libraries. Using your new skills, you will be able to develop your own programs for tasks such as web services, database connectivity, XML processing, and mobile programming. No previous programming experience required. By following the 21 carefully organized lessons in this book, anyone can learn the basics of Java programming. Learn at your own pace. You can work through each chapter sequentially to make sure you thoroughly understand all the concepts and methodologies, or you can focus on specific lessons to learn the techniques that interest you most. Test your kwledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions. * Completely revised, updated, and expanded to cover the latest features of Java 8* Learn to develop Java applications and Android apps using NetBeans and Google's new Android Studio -- two excellent (and free!) programming platforms* Covers new features of Java 8 such as closures, the most eagerly anticipated language feature in years* Easy-to-understand, practical examples clearly illustrate the fundamentals of Java programming* Discover how Swing can help you quickly develop programs with a graphical user interface* Find out about JDBC 4.2 programming with the Derby database and XML parsing with the open source XOM class library* Learn how to use streams to write programs that communicate with the Internet, including socket programming, buffers, channels, and URL handling. Contents at a Glance WEEK 1: The Java LanguageDAY 1 Getting Started with JavaDAY 2 The ABCs of ProgrammingDAY 3 Working with ObjectsDAY 4 Lists, Logic, and LoopsDAY 5 Creating Classesand MethodsDAY 6 Packages, Interfaces, and Other Class FeaturesDAY 7 Exceptions and Threads WEEK 2: The Java Class LibraryDAY 8 Data StructuresDAY 9 Working with SwingDAY 10 Building a Swing InterfaceDAY 11 Arranging Components on a User InterfaceDAY 12 Responding to User InputDAY 13 Creating Java2D GraphicsDAY 14 Developing Swing Applications WEEK 3: Java ProgrammingDAY 15 Working with Input and OutputDAY 16 Using Inner Classes and ClosuresDAY 17 Communicating Across the InternetDAY 18 Accessing Databases with JDBC 4.2 and DerbyDAY 19 Reading and Writing RSS FeedsDAY 20 XML Web ServicesDAY 21 Writing Android Apps for Java APPENDIX A Using the NetBeans IDEAPPENDIX B This Book's WebsiteAPPENDIX C Fixing a Problem with the Android Studio EmulatorAPPENDIX D Using the Java Development KitAPPENDIX E Programming with the Java Development Kit
Rogers Cadenhead is a programmer and author. He has written more than 30 books on programming and web publishing, including Sams Teach Yourself Java in 24 Hours and Absolute Beginner's Guide to Minecraft Mods Programming. He also publishes the Drudge Retort and other websites that receive more than 20 million visits a year.