OBJECTIVES
After studying this chapter, you will
Know the basic steps involved in program development.
Understand some of the basic elements of the Java language.
Know how to use simple output operations in a Java program.
Be able to distinguish between different types of errors in a program.
Understand how a Java program is translated into machine language.
Understand the difference between a Java application and a Java applet.
Know how to edit, compile, and run Java programs.
OUTLINE
1.1
Introduction
1.2
Designing Good Programs
1.3
Designing a Riddle Program
1.4
Java Language Elements
Grace Hopper and the First Computer Bug
1.5
Editing, Compiling, and Running a Java Program
1.6
From the Java Library: System and PrintStream
Chapter Summary
Solutions to Self-Study Exercises
Exercises