Java Reference
In-Depth Information
CHAPTER
1
I
NTRODUCTION
TO
C
OMPUTERS
,
P
ROGRAMS
,
AND
J
AVA
Objectives
To understand computer basics, programs, and operating systems
(§§1.2-1.4).
■
To describe the relationship between Java and the World Wide Web
(§1.5).
■
To understand the meaning of Java language specification, API, JDK,
and IDE (§1.6).
■
To write a simple Java program (§1.7).
■
To display output on the console (§1.7).
■
To explain the basic syntax of a Java program (§1.7).
■
To create, compile, and run Java programs (§1.8).
■
To display output using the
JOptionPane
message dialog boxes (§1.9).
■
To become familiar with Java programming style and documenta-
tion (§1.10).
■
To explain the differences between syntax errors, runtime errors, and
logic errors (§1.11).
■