Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright Page
Contents
Preface
Who Should Read This Book?
How to Use This Book
About the Authors
1. Getting Started
The Java Technology Phenomenon
The “Hello World!” Application
A Closer Look at the “Hello World!” Application
Common Problems (and Their Solutions)
Questions and Exercises: Getting Started
2. Object-Oriented Programming Concepts
What Is an Object?
What Is a Class?
What Is Inheritance?
What Is an Interface?
What Is a Package?
Questions and Exercises: Object-Oriented Programming Concepts
3. Language Basics
Variables
Operators
Expressions, Statements, and Blocks
Control Flow Statements
4. Classes and Objects
Classes
Objects
More on Classes
Nested Classes
Enum Types
Annotations
5. Interfaces and Inheritance
Interfaces
Inheritance
6. Generics
Why Use Generics?
Generic Types
Generic Methods
Bounded Type Parameters
Generics, Inheritance, and Subtypes
Type Inference
Wildcards
Type Erasure
Restrictions on Generics
Questions and Exercises: Generics
7. Packages
Creating a Package
Naming a Package
Using Package Members
Managing Source and Class Files
Questions and Exercises: Creating and Using Packages
8. Numbers and Strings
Numbers
Characters
Strings
9. Exceptions
What Is an Exception?
The Catch or Specify Requirement
Catching and Handling Exceptions
Specifying the Exceptions Thrown by a Method
How to Throw Exceptions
Unchecked Exceptions: The Controversy
Advantages of Exceptions
Summary of Exceptions
Questions and Exercises: Exceptions
10. Basic I/O and NIO.2
I/O Streams
File I/O (Featuring NIO.2)
Summary of Basic I/O and NIO.2
Questions and Exercises: Basic I/O and NIO.2
11. Collections
Introduction to Collections
Interfaces
Implementations
Algorithms
Custom Collection Implementations
Interoperability
12. Concurrency
Processes and Threads
Thread Objects
Synchronization
Liveness
Guarded Blocks
Immutable Objects
High-Level Concurrency Objects
Questions and Exercises: Concurrency
13. Regular Expressions
Introduction
Test Harness
String Literals
Character Classes
Predefined Character Classes
Quantifiers
Capturing Groups
Boundary Matchers
Methods of the Pattern Class
Methods of the Matcher Class
Methods of the PatternSyntaxException Class
Unicode Support
Additional Resources
Questions and Exercises: Regular Expressions
14. The Platform Environment
Configuration Utilities
System Utilities
PATH and CLASSPATH
Questions and Exercises: The Platform Environment
15. Packaging Programs in JAR Files
Using JAR Files: The Basics
Working with Manifest Files: The Basics
Signing and Verifying JAR Files
Using JAR-Related APIs
Questions: Packaging Programs in JAR Files
16. Java Web Start
Developing a Java Web Start Application
Deploying a Java Web Start Application
Displaying a Customized Loading Progress Indicator
Running a Java Web Start Application
Java Web Start and Security
Common Java Web Start Problems
Questions and Exercises: Java Web Start
17. Applets
Getting Started with Applets
Doing More with Applets
Displaying a Customized Loading Progress Indicator
Solving Common Applet Problems
Questions and Exercises: Applets
18. Doing More with Java Rich Internet Applications
Setting Trusted Arguments and Secure Properties
JNLP API
Cookies
Customizing the Loading Experience
Security in RIAs
Questions and Exercises: Doing More with Java Rich Internet Applications
19. Deployment in Depth
Deployment Toolkit
Java Network Launch Protocol
Deployment Best Practices
Questions and Exercises: Deployment In Depth
Appendix. Preparing for Java Programming Language Certification
Programmer Level I Exam
Programmer Level II Exam
Java SE 7 Upgrade Exam
Index
Footnotes
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
← Prev
Back
Next →
← Prev
Back
Next →