首页 > 编程语言 > 详细

在eclipse中对于java的操作

时间:2014-10-03 18:23:35      阅读:216      评论:0      收藏:0      [点我收藏+]

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的操作

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!