SummaryJava consists of three types of programs: applications, applets, and servlets. In this lesson, you learned that applications will contain a main() method. After the program is written as a text source file (having a name *.java ), the program is converted into bytecode (having a name *.class) by the Java compiler. The compiled bytecode can be executed using the Java interpreter. In the following lessons, you will learn the basic syntax of the Java programming language. |