如何使用eclipse写java程序?下面小编带来了eclipse写java程序的图文教程,希望阅读过后对你有所启发。
方法/步骤
首先,你的电脑要安装配置好eclipse的环境,这个步骤就不在这赘述了。

打开eclipse软件

点击file--new--java project
即新建java项目

为这个项目命名,点击finish

在左边的面板上就出现了test的项目

展开test项目,对着里面的src点击右键--new--class
即新建一个类

为类命名,注意,首字母必须是大写
点击finish

这时候,就可以在主窗体编写代码了

以上就是如何使用eclipse写java程序的全部内容了,大家都学会了吗?