输出“Hello world"

Posted wuhui111

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了输出“Hello world"相关的知识,希望对你有一定的参考价值。

puclic class Hello world

{

   public static void main(String args[])

   {

         System.out.println("Hello World")

   }

}

 

总结Java输出语句

System.out.println();

System.out.print();

System.out.printf();

System.out.print();

以上是关于输出“Hello world"的主要内容,如果未能解决你的问题,请参考以下文章