Java, Java, Java
4. Java Program Design and Development
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 console application and a Java Swing application.
Know how to edit, compile, and run Java programs.
OUTLINE
Introduction
Designing Good Programs
Designing a Riddle Program
Special Topic: Grace Hopper and the First Computer Bug
Editing, Compiling, and Running a Java Program
From the Java Library: System and PrintStream
From the Java Library: System and PrintStream
Chapter Summary
Solutions to Self-Study Exercises Exercises
23