As Java is case-sensitive Main is different from main. Java compiler will compile classes that do not contain a main( )method.But the Java interpreter has no way to run these classes. So,interpreter would report an error because it would be unable to find the main( ) method.
Aug 1, 2012