Hello world program in Java Before we start learning about program, if you are not aware of what is Java check out my previous article Introduction to Java Hello World Program public class MyFirstJavaProgram { /* This is my first java program. * This will print 'Hello World' as the output */ public static void main ( String [] args ) { System . out . println ( "Hello World" ); // prints Hello World } } Lets see , what is meaning of this program and how it can be saved ,compiled and run: In java every line of code that can actually run should be inside class. To run any java program main method is mandatory and will be defined in the same format : public static void main ( String [] args ) public : can be accessed from anyone within the system Static : using static keyword ,any m...