Jump to ratings and reviews
Rate this book

Sams Teach Yourself Java in 21 Days (Covering Java 8)

Rate this book
In just 21 days you can acquire the knowledge 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 knowledge 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 knowledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions. Contents at a Glance
WEEK 1: The Java Language DAY 1 Getting Started with Java DAY 2 The ABCs of Programming DAY 3 Working with Objects DAY 4 Lists, Logic, and Loops DAY 5 Creating Classesand Methods DAY 6 Packages, Interfaces, and Other Class Features DAY 7 Exceptions and Threads
WEEK 2: The Java Class Library DAY 8 Data Structures DAY 9 Working with Swing DAY 10 Building a Swing Interface DAY 11 Arranging Components on a User Interface DAY 12 Responding to User Input DAY 13 Creating Java2D Graphics DAY 14 Developing Swing Applications
WEEK 3: Java Programming DAY 15 Working with Input and Output DAY 16 Using Inner Classes and Closures DAY 17 Communicating Across the Internet DAY 18 Accessing Databases with JDBC 4.2 and Derby DAY 19 Reading and Writing RSS Feeds DAY 20 XML Web Services DAY 21 Writing Android Apps for Java
APPENDIX A Using the NetBeans IDE APPENDIX B This Book’s Website APPENDIX C Fixing a Problem with the Android Studio Emulator APPENDIX D Using the Java Development Kit APPENDIX E Programming with the Java Development Kit

720 pages, Paperback

First published March 28, 2014

12 people are currently reading
16 people want to read

About the author

Rogers Cadenhead

64 books8 followers
Rogers Cadenhead is a ServiceNow developer who has created applications in insurance and customer service. He is also the author of more than a dozen books on computer programming and web publishing, including the Sams Teach Yourself Java in 21 Days series, and the chairman of the RSS Advisory Board, the group that publishes the RSS 2.0 specification.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (30%)
4 stars
3 (30%)
3 stars
2 (20%)
2 stars
0 (0%)
1 star
2 (20%)
Displaying 1 - 3 of 3 reviews
107 reviews1 follower
October 1, 2020
Although somewhat outdated this was a good tutorial book for Java 8. This book is not for an absolute beginner. I think some knowledge of programming is needed. I really appreciated how Cadenhead reminded what steps to use even with the IDE. I tried using a different book to get information about Swing and it didn't work at all. The code in this book worked, mostly. The code that did not work depended on online resources that have changed since the book came out. Although I was excited about the Android tutorial. It did not work as well. I think again because the codebase and the program changed.

Overall I found this book to be helpful, informative, and a good support to my efforts to learn java. Although I already knew Java, Cadenhead introduced many new areas. Overall I find this book to be worth the effort.
Profile Image for Che Perth.
18 reviews1 follower
March 17, 2022
Will not help you pass a Java computer science class. It's mostly theory and not practical.
Profile Image for Che Perth.
18 reviews1 follower
January 25, 2022
Will not help you pass an Introduction to Java computer science class.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.