This is the first thing everyone learns in a new language, and it covers a lot of important constructs in Java. You will notice that there are three identifiers before the method name here. The keywords public and static are prepended to the method declaration. Their meanings we mentioned earlier. The method body here is just one line.
System is the name of a class.
It is followed by a dot operator. This operator is used to select a method or a field from object on its left. System.out refers to the out field of the System class. System.out.println refers to the println method of that field. A method body is made up of statements.