j2se 第一个程序helloworld (有图有真相)

1使用eclipse 创建一个工程。

2写class 代码

public class HelloWorld {

	/**
	
	 * @Title: main
	
	 * @Description: j2se程序的入口
	
	 * @param @param args    设定文件
	
	 * @return void    返回类型
	
	 * @throws
	
	 * @author MrJing
	
	 * @date 2012-8-2 下午11:40:05
	
	 */

	public static void main(String[] args) {
	
		//输出语句
		System.out.println("java j2se say:hello world");
   
		
	}

}

j2se 第一个程序helloworld (有图有真相)_第1张图片


j2se 第一个程序helloworld (有图有真相)_第2张图片j2se 第一个程序helloworld (有图有真相)_第3张图片j2se 第一个程序helloworld (有图有真相)_第4张图片j2se 第一个程序helloworld (有图有真相)_第5张图片j2se 第一个程序helloworld (有图有真相)_第6张图片j2se 第一个程序helloworld (有图有真相)_第7张图片j2se 第一个程序helloworld (有图有真相)_第8张图片

你可能感兴趣的:(java,eclipse,Date,String,J2SE,Class)