A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

  • 配置好jdk相关环境
  • 新建helloword.txt文档。
  • 文旦内容
  • [Java] 纯文本查看 复制代码
    class helloword{
          public static void main (String[] args){
            System.out.printlin("hello word"); // System  第一个S大写
     }
    }
  • 命令:javac helloword.java   编译出helloword.class文件
  • 命令:java helloword   运行 helloword.class 文件
  • 运行结果显示:helloword。



4 个回复

倒序浏览
回复 使用道具 举报
万里长征第一步!
回复 使用道具 举报
回复 使用道具 举报
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 加入黑马