Java Programming for the Absolute Beginner provides you with an introduction to Java that allows you to learn the fundamentals of object-oriented programming while becoming acquainted with many of the core features of Java. This book starts with the assumption that you have not previously written a computer program. It then walks you through the creation of a variety of games and applications. After you have your footing with the basics, you learn to develop your own systems of classes, and by the end of the book, you are working with many of Java's Graphical User Interface (GUI) features and developing a desktop Windows application. This book provides a solid introduction for anyone desiring a relaxed, fully guided tour of the fundamentals of Java, programming, and the objectoriented approach to application development.
Table of Contents:
1. Getting Started 2. Variables, Data Types, and Simple I/O 3. The Fortune Teller: Random Numbers, Conditionals, and Arrays 4. The Number Guesser: Using Loops and Exception Handling 5. Blackjack: Object Oriented Programming 6. Making Your Life Easier: The java.util Package and Generics 7. Learning to Read and Write: The java.io Package 8. Creating a GUI Using the Abstract Windowing Toolkit 9. Advanced GUI, Layout Managers, and Event Handling 10. Writing Applets 11. Rendering 2D Graphics 12. Animation, Sounds, and Threads 13. Putting it All Together: The Block Game