Book description
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
- About This E-Book
- Title Page
- Copyright Page
- Contents at a Glance
- Table of Contents
- About the Author
- Dedication
- Acknowledgments
- We Want to Hear from You!
- Reader Services
- Introduction
-
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
- Index
- Code Snippets
Product information
- Title: Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Sams
- ISBN: 9780133755848
You might also like
book
Java™ in 24 Hours, Sams Teach Yourself (Covering Java 8), Seventh Edition
Sams Teach Yourself Java in 24 Hours, Seventh Edition Covers Java 8 and Android Development In …
book
Sams Teach Yourself Java in 24 Hours, Eighth Edition
Computer programming with Java is easier than it looks. In just 24 lessons of one hour …
book
Sams Teach Yourself Java in 21 Days (Covers Java 11/12), 8th Edition
In just 21 days, you can acquire the knowledge and skills necessary to develop applications on …
book
Pro Java 8 Programming, Third Edition
Pro Java 8 Programming covers the core Java development kit and the finer points of the …