Example of the java basic programing.