Saturday, August 10, 2013

Welcome to PlanetEarth.java


Welcome to PlanetEarth.java

Do we need to start PlanetEarth.java with Eclipse?

Perhaps not; you can just start with using a 
  • Notepad - to write your java 
  • javac - command to compile your java into a class
  • java - command to execute the class
Using Notepad, create the PlanetEarth.java

package planet.earth.common;

/**
 * This is common to all human beings on Planet Earth.
 * 
 */

public final class PlanetEarth {

public static void main(String[] userInputs) {

System.out.println("Hello World!");
System.out.println("Hello Planet Earth!");

}

}

The term 'World' refers to political quality of the planet earth. World, country, state, citizen and so on was created for the purpose of effective management of government institutions. Earlier there were leaders as the head of these organizations. Now, instead of leaders, there are politicians. So, the world is now divided into many fragments.

The term, 'Planet Earth' unites all human beings. So, instead of saying, Hello World!, let us greet all human beings with, Hello Planet Earth!


No comments:

Post a Comment