Sams Teach Yourself Java in 21 Days, 7th Edition
- Length: 720 pages
- Edition: 7
- Language: English
- Publisher: Sams Publishing
- Publication Date: 2016-01-03
- ISBN-10: 067233710X
- ISBN-13: 9780672337109
- Sales Rank: #284249 (See Top 100 Books)
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.
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.
- 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.
Register your book at informit.com/register for convenient access to downloads, updates, and corrections as they become available.
Table of Contents
Week I: 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 Classes and Methods
Day 6. Packages, Interfaces, and Other Class Features
Day 7. Exceptions and Threads
Week II: 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 III: 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 with Java
Week IV: Appendices
Appendix A. Using the NetBeans Integrated Development Environment
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