Java || The first Java program
01: Open the eclipse software and right-click to create a new Java project
Select File->
New- > Java Project in turn and fill in the project name in the new pop-up window (here firstText is used as an example)
02: Create a new class file
Right-click on the project you just created, then select new–> class
and enter the name in the new pop-up window (here text is used as an example), and then click finish
03: Write code and run
Appendix: Code
package firstText;
public class text {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("今天是2020-04-11");
}
}