Explain the meaning of all content in helloworld:
Public class helloworld {public static void main (string [] ARGs) {system. Out. println ("Hello, world! ");}}
- Public: the class/method/variable modified by the access modifier can be accessed anywhere in the program.
- Class: declares a class keyword. Class classname indicates declaring a class named classname.
- Helloworld: Class Name.
- Static: static modifier. The method/variable modified by the modifier is first loaded in the program, prior to class instantiation, it can be understood that as long as the program runs the static modified content until the program exits.
- String [] ARGs: A String Array named args.
- Main (): The main method serves as the entry to the program.
- System: A Java class.
- Out: an attribute of the system class.
- Println: Used to output a string on the console.
Hit helloworld all over the Internet