码迷,mamicode.com
首页 > 编程语言 > 详细

在eclipse中对于java的操作

时间:2014-10-03 18:36:45      阅读:233      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   ar   java   strong   sp   div   

1. 新建project

new project --> java project -->input the name of the project and choose the jre -- press the button"New Java Package"--> input the package‘s name -->under the package, press the "New Java Class" button 

下面这是一个小程序,project :HelloWorld   ,  package name:helloworldtest     ,   class name:Exercise

package helloworldtest;

public class Exercise {
    public static void main(String args[]){
        System.out.println("hello wang. This is java");
    }
}

 

在eclipse中对于java的操作

标签:style   blog   color   os   ar   java   strong   sp   div   

原文地址:http://www.cnblogs.com/assassin/p/4005141.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!