Specifications
Java™ Programming Language
iv
2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Course Contents
About This Course ..................................................................................... Preface-xvi
Course Goals .............................................................................................................................Preface-xvii
Course Overview ......................................................................................................................Preface-xix
Course Map ................................................................................................................................. Preface-xx
Topics Not Covered ..................................................................................................................Preface-xxi
How Prepared Are You? .........................................................................................................Preface-xxii
Introductions ...........................................................................................................................Preface-xxiii
How to Use the Icons ..............................................................................................................Preface-xxiv
Typographical Conventions and Symbols ...........................................................................Preface-xxv
Getting Started ......................................................................................................... 1-1
Objectives ................................................................................................................................................. 1-2
Relevance .................................................................................................................................................. 1-3
What Is the Java™ Technology? ........................................................................................................... 1-4
Primary Goals of the Java Technology ................................................................................................ 1-5
The Java Virtual Machine ...................................................................................................................... 1-8
Garbage Collection ............................................................................................................................... 1-11
The Java Runtime Environment .......................................................................................................... 1-12
Operation of the JRE With a Just-In-Time (JIT) Compiler .............................................................. 1-13
JVM™ Tasks ........................................................................................................................................... 1-14
The Class Loader ................................................................................................................................... 1-15
The Bytecode Verifier ........................................................................................................................... 1-16
A Simple Java Application ................................................................................................................... 1-17
The TestGreeting Application ......................................................................................................... 1-18
The Greeting Class .............................................................................................................................. 1-19
Compiling and Running the TestGreeting Program .................................................................... 1-20










