对HelloWrod的认识

来源:互联网 发布:淘宝卖家开通直播条件 编辑:程序博客网 时间:2024/05/01 07:46

public  class  Test{       // 程序外层框架


public static void main(String[] args){   //一个程序的开始


System.out.print("Hello  Wrod")    // 这里是程序的代码输入区                              打印输出结果      

}

}

 pubilc:公共的        class:类       static:静态的      ovid:无返回型

 main:主要的      string:字符串    args:参数     system:系统的

out:输出设备      print:打印      test:测试     println:打印并换行


0 0
原创粉丝点击