HelloWorld有几种写法?请各位高手赐教谢谢了!
学习一下别的写法!

解决方案 »

  1.   

    楼主可以考虑用加密算法,写让所有人看不懂的helloworld
      

  2.   

    看来是没有人告诉你了
    在我这刚学习java的大神来告诉你吧
    public class Test{
    public static void main(String args[]){
      System.out.println("Helloword");
      }
    }
    ps:勿喷!!!!
      

  3.   

    能够把JAVA中的hello world 写全了,你也差不多去了。。
      

  4.   

    hello world 呀!!!你只要想写,在哪一个输出里面都能写出来,你从开始学java,用hello world 作为输出,学到哪儿都可以,都可以以 hello world输出
      

  5.   

    public class HelloWorld{
       static
    {
       system.out.println 哈罗沃德
    }
    }
      

  6.   

    用Eclipse把编码都换上一遍
    看看有多少种
    我表示不知道
      

  7.   


    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");
    }
      

  8.   

    static{
    System.out.println("hello,world!")
    System.exit(0);
    }
      

  9.   

    楼上的都是人才啊,用java输出“hello word”可以说是java中最经典的案例了,用什么方法都可以输出!从简单的System.out.println("") ;到框架之类的,有无数的方法用来输出hello word ,就像15楼说的,只要能把学的知识都会输出 hello word ,那么你java已经学得差不多了!!
      

  10.   

    你可以写个操作系统 开机密码必须是helloworld  开机以后就只有helloworld   插上U盘就是helloworld  装和java只能运行helloworld  不是helloworld就抛出 "helloworld only exception"
      

  11.   

    你可以开发个语言叫hello world.
    只能输入和输出hello world.
    输入别的就开N个线程让CPU卡死。。
      

  12.   

    来个传统点的:\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
      

  13.   

    你想怎么写就怎么写,只要最后输出了hello World