after compilation I got this error for my file
Exception in thread "main" java.lang.NoClassdeffoundError :sample
I can't understand the actual prblm please help me out...
Is their any prblm with my path...
There is no problem with path ,I think u are trying to run that class which not contain main method, so it is giving this exception.Always run the class that contain main method.