This course covers the following eight aspects:
1. Introduction
2. StructuredProgramDesign
3. Object-Oriented Programming
4. array, string, and Exception Handling
5. files and data streams
6. GUI Design
7. Small application and network program design
8. Programming specifications
The main purpose of this course is to master Java programming ideas and programming skills.
Java mainly has two types of programs: Application and applet ).
Environment Settings: Standard Search Path = C:/j2sdk/bIn Class path classpath =.; C/j2sdk/lib
Five phases of Java program: 1) Editing: writing program, saved on Hard Disk
2) Compile: Use the compiler to translate the source program into bytecodes statements (javac filename. Java, generate the class file Java Virtual Machine language)
3) load: Call bytecodes to the memory (Java filename; appletviewer file.html)
4) Check: Check whether bytecodes is valid
5) Execution: The interpreter translates bytecodes into machine language for execution.