HelloWorld有几种写法?请各位高手赐教谢谢了! HelloWorld有几种写法?请各位高手赐教谢谢了!学习一下别的写法! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼主可以考虑用加密算法,写让所有人看不懂的helloworld 看来是没有人告诉你了在我这刚学习java的大神来告诉你吧public class Test{public static void main(String args[]){ System.out.println("Helloword"); }}ps:勿喷!!!! 能够把JAVA中的hello world 写全了,你也差不多去了。。 hello world 呀!!!你只要想写,在哪一个输出里面都能写出来,你从开始学java,用hello world 作为输出,学到哪儿都可以,都可以以 hello world输出 public class HelloWorld{ static{ system.out.println 哈罗沃德}} 用Eclipse把编码都换上一遍看看有多少种我表示不知道 public static void main(String[] args) throws IOException { System.out.print("H"); System.out.print("e"); System.out.print("l"); System.out.print("l"); System.out.print("o"); System.out.print("W"); System.out.print("o"); System.out.print("r"); System.out.print("l"); System.out.print("d"); } static{System.out.println("hello,world!")System.exit(0);} 楼上的都是人才啊,用java输出“hello word”可以说是java中最经典的案例了,用什么方法都可以输出!从简单的System.out.println("") ;到框架之类的,有无数的方法用来输出hello word ,就像15楼说的,只要能把学的知识都会输出 hello word ,那么你java已经学得差不多了!! 你可以写个操作系统 开机密码必须是helloworld 开机以后就只有helloworld 插上U盘就是helloworld 装和java只能运行helloworld 不是helloworld就抛出 "helloworld only exception" 你可以开发个语言叫hello world.只能输入和输出hello world.输入别的就开N个线程让CPU卡死。。 来个传统点的:\u0063\u006c\u0061\u0073\u0073\u0020\u0048\u0065\u006c\u006c\u006f\u0057\u006f\u0072\u006c\u0064\u0041\u0070\u0070\u0020\u007b\u0009\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006f\u0069\u0064\u0020\u006d\u0061\u0069\u006e\u0028\u0053\u0074\u0072\u0069\u006e\u0067\u0020\u0061\u0072\u0067\u0073\u005b\u005d\u0029\u007b\u0009\u0009\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0022\u0048\u0065\u006c\u006c\u006f\u0020\u0077\u006f\u0072\u006c\u0064\u0021\u0022\u0029\u003b\u0009\u007d\u007d 你想怎么写就怎么写,只要最后输出了hello World ****tomcat6 老是内存一断增长 在查阅JDK文档的时候,如何确定一些函数的参数? JTable中嵌入combox,table增行后combox列没有下拉效果 ireport中,如何实现图片按比例缩小显示? DWR addRows and removeAllRows 操作问题? 求一SQL aix jdk安装问题,急!!! JTable的返回列 和 窗口显示 问题 心情不好,散分! Just In Time(JIT)怎么翻译啊?是什么意思? jfreeChart 关于Math.sin()菜鸟问题
在我这刚学习java的大神来告诉你吧
public class Test{
public static void main(String args[]){
System.out.println("Helloword");
}
}
ps:勿喷!!!!
static
{
system.out.println 哈罗沃德
}
}
看看有多少种
我表示不知道
public static void main(String[] args) throws IOException {
System.out.print("H");
System.out.print("e");
System.out.print("l");
System.out.print("l");
System.out.print("o");
System.out.print("W");
System.out.print("o");
System.out.print("r");
System.out.print("l");
System.out.print("d");
}
System.out.println("hello,world!")
System.exit(0);
}
只能输入和输出hello world.
输入别的就开N个线程让CPU卡死。。
\u0009\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006f\u0069\u0064\u0020\u006d\u0061\u0069\u006e\u0028\u0053\u0074\u0072\u0069\u006e\u0067\u0020\u0061\u0072\u0067\u0073\u005b\u005d\u0029\u007b
\u0009\u0009\u0053\u0079\u0073\u0074\u0065\u006d\u002e\u006f\u0075\u0074\u002e\u0070\u0072\u0069\u006e\u0074\u006c\u006e\u0028\u0022\u0048\u0065\u006c\u006c\u006f\u0020\u0077\u006f\u0072\u006c\u0064\u0021\u0022\u0029\u003b
\u0009\u007d
\u007d