Register your product to gain access to bonus material or receive a coupon.
Adobe® Digital Editions software.
This eBook requires the freeBefore downloading this DRM-encrypted PDF, be sure to:
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.
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