2.1 "Hello, World!" In Java

xiaoxiao2021-03-06  50

/ * HelloWorld.java * Purpose: * The classic "Hello, world!" Program * It prints a message to the screen * Author:.. Jane Programmer * as derived from Kernighan and Richie * / class HelloWorld {public static void main ( String [] args) {system.out.println ("Hello, World!");}}

It should be noted that Java is strictly sized. The file name HelloWorld of the file must be consistent with the class name HelloWorld.

转载请注明原文地址:https://www.9cbs.com/read-85376.html

New Post(0)