I hope you have not changed the method signature of main comparing to the one you have pasted here, if I am not very wrong we normally get this error when we dont have any main method like this
public static void main(String  args)
Joined: Jun 02, 2008
i have just pasted the code ...but still i am not able to get why am not able to execute it ???