revised 01/18/99; 01/17/00

CHAPTER 6 --- Small Java Programs

The previous chapter discussed the mechanics of creating and running a Java program. This chapter will give an overview of Java using the small example program from the last chapter. The following chapters will begin a detailed discussion of Java.

Chapter Topics:

  • Small example programs.
  • Names for source files and class files.
  • Syntax errors.
  • Bugs.
  • The Edit, Compile, and Run cycle
  • Matching braces.
  • Neat indenting.

QUESTION 1:

(Review:) What role in Java programming does each of the following files play?

  • Source code file.
  • Bytecode file.

Click Here after you have answered the question