Java Programming Basics to Brilliance Part 2

This post is a progression to previous post here . Java Syntax Every language in this world has a syntax so does a programming language like Java. Now take a look at the following programming which simply prints the all famous "hello world." public class play { public static void main(String[] args){ System.out.println("hello world."); } } In this program what we do is create a class by the name of play. In this class we create a function or method by the name of main in which we print out a line "hello world.". Any program in java will always have a class and a main method. When a java program is executed, the main method is called and all of the statements in this method are executed in progression. Writing the above lines of code is a piece of cake in Eclipse. To further define what is happening in above program in details, lets break it. public class play { States the beginning of the class. We stated class a