Small Java Programs
This chapter discusses naming and coding conventions as well as reserved words in Java. When you go through this chapter, you'll get some hands-on experience with writing in Java.
1. Small Java Programs
The previous chapter discussed the mechanics of creating and running a Java program. This chapter is an overview of Java using the previous example program.
- Small example programs
- Names for source files and class files
- Syntax errors
- The Edit, Compile, and Run cycle
- Matching braces
- Neat indenting
(Review:) What is the role of each of the following files?
- Source code file
- Bytecode file
Source: Bradley Kjell, http://programmedlessons.org/Java9/chap06/ch06_01.html
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 License.