JAVA语言输出hello world!世界,你好!
1、定义类 helloworld
//programme name Helloworld.java
2、输出类 helloworld
public class Helloworld {
3、定义类函数
public static void main(String args[]) {
4、输出文字
System.out.print ("世界,你好!" );
5、完整代码
//programme name Helloworld.java
public class Helloworld {
public static void main(String args[]) {
System.out.print ("世界,你好!" );
} }
阅读量:138
阅读量:41
阅读量:147
阅读量:26
阅读量:176