Chapter 3 Introduction to Computers, Programs, and Java 1
Objectives 2
What is a Computer? 3
CPU 4
Memory 5
How Data is Stored? 6
Storage Devices 7
Output Devices: Monitor 8
Monitor Resolution and Dot Pitch 9
Communication Devices 10
Programs 11
Programming Languages 12
Programming Languages 13
Programming Languages 14
Popular High-Level Languages 15
Compiling Source Code 16
Compiling Source Code 17
Operating Systems 18
Number Systems 19
Number Systems 20
Number Systems, cont. 21
Binary Numbers => Decimals 22
23
Windows Calculator 24
Hexadecimals => Decimals 25
26
27
28
29
30
31
32
Java’s History 33
Characteristics of Java 34
Characteristics of Java 35
Characteristics of Java 36
Characteristics of Java 37
Characteristics of Java 38
Characteristics of Java 39
Characteristics of Java 40
Characteristics of Java 41
Characteristics of Java 42
Characteristics of Java 43
Characteristics of Java 44
Characteristics of Java 45
46
JDK Versions 47
JDK Editions 48
Java IDE Tools 49
A Simple Java Program 50
Creating and Editing Using Note. Pad 51
Creating and Editing Using Word. Pad 52
53
Supplements on the Companion Website 54
Compiling and Running Java from the Command Window 55
Compiling and Running Java from Text. Pad 56
Compiling and Running Java from JBuilder 57
Compiling and Running Java from Net. Beans 58
Anatomy of a Java Program 59
Comments 60
Package 61
Reserved Words 62
Modifiers 63
Statements 64
Blocks 65
Classes 66
Methods 67
main Method 68
Displaying Text in a Message Dialog Box 69
The show. Message. Dialog Method 70
Two Ways to Invoke the Method 71
The exit Method 72
73
74
75
76
77