even i am a beginer like you... replace main( ) with main(String s[ ] )...itwill work....can anybody explain me why do we need to have such a syntax..?