Java 2 Programmer's Interactive Workbook
The perfect course in Java for absolute beginners: a total book-and-web integrated learning solution that teaches you Java hands-on! Get started with Java: make sure your Java environment works, start editing files and using the Java console; running Java code, applications, and applets. Through simple examples and analogies, learn what objects are and what object-oriented programming involves. Then, master Java data types, control structures, basic Java graphical user interfaces and the layout manager; events, multimedia, even advanced subclassing, inheritance, exceptions and error handling. Like every book in the Prentice Hall Interactive Workbook series, this one is full of hands-on labs, exercises, "test your thinking" projects, and more -- all supported by a free, Web-based training site!
- Paperback | 502 pages
- 182.88 x 233.68 x 30.48mm | 907.18g
- 30 Dec 1999
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
- Workbook ed.
Back cover copy
1663H-9 The perfect hands-on Java course for absolute beginners: all the skills you need to get results, fast! Get Java up and running, start editing files, use the Java console, run Java applications and applets. Learn the basics of object-oriented programming through easy examples, analogies, and exercises. Then, master Java data types, control structures, basic Java graphical user interfaces, events, classes, inheritance, exceptions, error handling-even multimedia! Totally integrated with a FREE, state-of-the-art Java learning Web site! Every Prentice Hall Interactive Workbook is fully integrated with its own exclusive Web site, giving you all this and more: "Test Your Thinking" project solutions and detailed explanations Author's Corner: Your personal connection to this book's expert author Additional self-review exercises with instant feedback and explanations An exclusive message board where you can interact with other students! Just the facts! No endless, boring discussions here! You'll learn hands-on, through practical exercises, self-review questions, and real-world answers. Exclusive "Test Your Thinking" projects guarantee you'll go beyond rote knowledge to really master the subject! It's an integrated learning system that's proven to work! Dozens of exercises cover the real world tasks that matter most! 100s of self-review questions and answers make sure you understand!
About Kevin Chu
Kevin Chu is a senior Java programmer at Sun Microsystems. He holds a patent (pending) on software design using techniques made possible by Java.
Table of contents
1. Getting Started. Lab 1.1 Compiling and Running A Java Program. Test Your Thinking.2. Basic Syntax of a Java Program. Lab 2.1 The Structure of a Simple Java Program. Lab 2.2 A Basic Overview of Variables. Lab 2.3 A Basic Overview of Methods. Test Your Thinking.3. Data Types. Lab 3.1 Primitive Data Types. Lab 3.2 The String Class. Lab 3.3 Arrays. Lab 3.4 Vectors. Test Your Thinking.4. Flow Control. Lab 4.1 Boolean Testing. Lab 4.2 If-Then-Else. Lab 4.3 The While Loop. Lab 4.4 The For Loop. Lab 4.5 Switch Statement. Test Your Thinking.5. Boolean Logic. Lab 5.1 Boolean Math. Lab 5.2 Boolean Expressions. Test Your Thinking.6. The Graphical User Interface. Lab 6.1 GUI Basics. Lab 6.2 Application Versus Applet GUIs. Lab 6.3 The Use of Labels. Lab 6.4 The Use of Buttons. Lab 6.5 The Use of Text Components. Test Your Thinking.7. Layout Managers. Lab 7.1 The BorderLayout. Lab 7.2 The GridLayout. Lab 7.3 Combining Layout Managers. Lab 7.4 The GridBagLayout. Test Your Thinking.8. Events. Lab 8.1 Basic Event Handling. Lab 8.2 Different Approaches to Event Handling. Test Your Thinking.9. Multimedia. Lab 9.1 Images. Lab 9.2 Colors. Lab 9.3 Sounds. Lab 9.4 Fonts. Test Your Thinking.10. Creating Your Own Classes. Lab 10.1 Designing and Implementing Classes. Lab 10.2 Special Class Features. Lab 10.3 Subclasses and Inheritance. Test Your Thinking.11. Errors and Exceptions. Lab 11.1 Error-Handling with Return Values. Lab 11.2 Error-Handling with Exceptions. Lab 11.3 Throwing and Catching Exceptions. Lab 11.4 Creating Your Own Exceptions. Test Your Thinking.Appendix A: Lab Self-Review Answers. Appendix B: Java Reserved Words. Index.