1. What is Eclipse
2. Basic concepts of Eclipse
3. Eclipse interface
4. Eclipse creates a Java project
5. Java Project directory structure
6. Compiling and running Java projects and error hints
1. What is Eclipse
Borland Corp.
2. Basic concepts of Eclipse
Eclipse Eclipse Sun Sun
3. Eclipse interface
4. Eclipse creates a Java project
<1> New--->java project
<2> New Package--->package
<3> New class file >class new---
1 Package First_package;2 3 Public classTest {4 5 Public Static voidMain (string[] args) {6System. out. println ("Hello World");7 8 }9 Ten}
5. Java Project directory structure
It will be compiled automatically after saving.
Do the following
The output is as follows, actually running the class file
6. Compiling and running Java projects and error hints
Let's create one more interface student
1 Package First_package; 2 3 Public Interface Student {4 Public void study (); 5 Public void eat (); 6 }
Create a new chinesestudent to implement student
Automatically generated