public static void main(String[] args)

Here`s the next line of code.

public class abc { public static void main(String[] args) {......}}

Whats happening here is that we are creating a method in the app class. A method in Object-Oriented Programming is like a function or subroutine in standard programming- it`s a block of code that you can pass control to that can return a value. Methods provides handy ways of wrapping code into a single functional unit; when you call a method, the java Virtual Machine executes the code in the method.

This line of code, then, starts the main method. The whole job of this method is to print out the text, which is done in the next line of code.