View Single Post
  #3 (permalink)  
Old 07-25-2007, 06:46 PM
mirage_87 mirage_87 is offline
Member
 
Join Date: Jul 2007
Posts: 8
mirage_87 is on a distinguished road
he is right ....but i guess other error u might have done cld be that yr class name isin't the same as the filename.
i mean if yr main class(the one havin the main() function ) has a different name than the one u gave to yr file it wld show similar error...
so if yr filename is : sample.java
yr classname shld be: sample

i guess this wld be help....
Reply With Quote