HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Helps guide students through the chapters. Ex.___
Helps students develop a structured programming technique to isolate problems, write correct problems faster, and produce easy-to-maintain programs. Ex.___
Gives students many small examples of Java programming and most chapters conclude with a larger Java programming example. Ex.___
Teaches students to build an application by applying the concepts learned throughout the book. Ex.___
Java 2 by Example, Second Edition gives novice programmers in-depth coverage of both object-oriented programming and Java fundamentals. It starts with an overview of Java, including a survey of development tools beginners should use. The book explains the basics of the Java language, including operators, expressions, statements and more; and Object-Oriented Programming with classes and objects, inheritance, and dynamic methods. The author includes a chapter applying the concepts of OOP to object-oriented analysis and design methods. Later chapters demonstrate organizing data in collections and utilizing Java's built-in mathematical functions. Along the way, readers learn from hundreds of examples explaining every concept. Plus, each chapter ends with a series of review questions to ensure that readers are caught up - with answers provided in an appendix.
Build Your Own Java-Based Email Programs
Exploring Java's Network API: Sockets
Exploring Java's Network API: URIs and URLs
Tools of the Trade: SwingX Meets Swing with New and Extended Components
Basic Thread Operations in Java
From Literals to Expressions in Java
Introduction.
I. EXPLORING THE LANGUAGE.
1. Introducing Java.What Is Java? Development Tools. Java Programs. Java Versus C++. What's Next? Reviewing It. Checking It. Applying It.
2. From Unicode to Types.Unicode. Comments. Identifiers. Types. What's Next? Reviewing It. Checking It. Applying It.
3. From Literals to Expressions.Literals. Variables. Separators and Operators. Expressions. What's Next? Reviewing It. Checking It. Applying It.
4. Statements.Types of Statements. Decision Statements. Loop and Loop Control Statements. Other Statements. What's Next? Reviewing It. Checking It. Applying It.
5. Classes and Objects.Classes. Fields. Methods. Objects. What's Next? Reviewing It. Checking It. Applying It.
6. Inheritance.What Is inheritance? The Root of All Classes. Interfaces. Inheritance Versus Composition. What's Next? Reviewing It. Checking It. Applying It.
7. Polymorphism.What Is Polymorphism? Method Binding. Abstract Classes. Runtime Type Information. What's Next? Reviewing It. Checking It. Applying It.
8. Initializers and Nested Classes.Initializers. Garbage Collection. Finalization. Nested Classes. What's Next? Reviewing It. Checking It. Applying It.
9. Exceptions and Exception Handlers.What Are Exceptions? Throwing Exceptions. Catching Exceptions. Cleaning Up. What's Next? Reviewing It. Checking It. Applying It.
10. Threads.What Are Threads? Synchronization. Scheduling. Thread Groups. What's Next? Reviewing It. Checking It. Applying It.
11. Packages.What Are Packages? The Package Directive. The Import Directive. Playing with Packages. What's Next? Reviewing It. Checking It. Applying It.
II. EXPLORING APIs.
12. From Characters to String Tokenizers.
Characters. Strings. String Buffers. String Tokenizers. What's Next? Reviewing It. Checking It. Applying It.
13. From Fundamental Data Structures to Collections.Fundamental Data Structures. Wrappers. Self-Referential Classes. Collections. What's Next? Reviewing It. Checking It. Applying It.
14. Mathematics.Java and Mathematics. Essential Math Classes. Random Numbers. Big Decimals and Big Integers. What's Next? Reviewing It. Checking It. Applying It.
15. Files and Streams.Working with Files. Working with Streams. Object Serialization. Stream Tokenizers. What's Next? Reviewing It. Checking It. Applying It.
III. APPENDIXES.
Appendix A. Answers to Quizzes.Assertions.
Appendix C. Operator Precedence.Certification.
FAQs, Forums, and Newsgroups. Magazines, Tutorials, and the Java Developer Connection. Glossary. Index.