JAVA version of "Hello world"

JAVA version of "Hello world"

​ This application method is run on "IntelliJ IDEA 2019.3.1 x64" (currently it is still a little white)

Insert picture description here

Below is the code part

public class Hello{
    public static void main (String[] args){

        String a =  "hello world";

        System.out.println(a);

    }
}

This is one of the methods, is to use "String a = "hello world"; ", and finally express it

There is also a direct expression

code show as below:

public class Hello{
    public static void main (String[] args){

        System.out.println("hello world");

    }
}

The final results are as follows:

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_45814538/article/details/108589604